using System.Threading.Tasks;
using Abp.Domain.Services;

namespace YGNT.QuestionLibrary.Core.EducationCategories.Domain
{
    public interface IEducationCategoryManager : IDomainService
    {
        /// <summary>
        /// 检查名称是否被占用
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        Task CheckNameAsync(string name);
    }
}