﻿using BlogDream.Domain.Entity;
using SWFramework.DDD.Repository;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace BlogDream.Domain.Inteface.Repository
{
    public interface ITagRepository: IRepository<Tag>
    {
        Task<IEnumerable<Tag>> GetTagsAsync();

        Task<int> AddTagAsync(Tag tag);

        Task<int> UpdateTagAsync(Tag tag);

        Task<int> DeleteTagAsync(int id);
    }
}
