using System.Collections.Generic; using System.Threading.Tasks; using GxPress.Entity; using GxPress.Request.Role; using GxPress.Result.Role; using Datory; namespace GxPress.Repository.Interface { public interface IRoleRepository : IRepository { Task InsertAsync(Role role); Task IsNameExistsAsync(string name); Task GetAsync(int id); Task GetNameAsync(int id); Task> GetListAsync(int groupId); /// /// ���� /// /// /// Task AddAsync(RoleAddRequest request); /// /// �޸� /// /// /// /// Task UpdateAsync(int id, RoleAddRequest request); /// /// ɾ�� /// /// /// Task DeleteAsync(int id); /// /// ���� /// /// /// Task GetDetailAsync(int id); /// /// ��ȡ��ɫ�б� /// /// /// Task> GetDetailListAsync(int groupId); } }