IsysRoleHandRepository.cs 671 B

12345678910111213141516171819
  1. using Microsoft.EntityFrameworkCore;
  2. using Ropin.Inspection.Model.Entities;
  3. using Ropin.Inspection.Model.ViewModel.SYS;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Ropin.Inspection.Repository.SYS.Interface
  10. {
  11. public interface IsysRoleHandRepository : IRepositoryBase<TSYS_RoleHand>, IRepositoryBaseById<TSYS_RoleHand, Guid>
  12. {
  13. Task CreateRoleHandAsync(TSYS_RoleHand entity);
  14. Task<bool> DeleteByRoleIdAsync(Guid roleId);
  15. Task<bool> DeleteRoleHandAsync(Guid roleId, Guid handCode);
  16. Task<IEnumerable<TSYSRoleHandModel>> GetList(Guid roleId);
  17. }
  18. }