ISystemRoleRepository.cs 460 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Datory;
  4. namespace GxPress.Repository.Interface.SystemRole
  5. {
  6. public interface ISystemRoleRepository : IRepository
  7. {
  8. Task<int> InsertAsync(Entity.SystemRole.SystemRole model);
  9. Task<bool> UpdateAsync(Entity.SystemRole.SystemRole model);
  10. Task<bool> DeleteAsync(int id);
  11. Task<IEnumerable<Entity.SystemRole.SystemRole>> GetSystemRolesAllAsync();
  12. }
  13. }