12345678910111213141516171819 |
- using Ropin.Inspection.Model;
- using Ropin.Inspection.Model.Entities;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Ropin.Inspection.Repository.Interface
- {
- public interface ITsysUserRoleRepository : IRepositoryBase<TSYS_UserRole>, IRepositoryBaseById<TSYS_UserRole, Guid>
- {
- Task<bool> DeleteByUserIdAsync(Guid userId);
- Task<IEnumerable<TsysUserRoleViewModel>> GetUserRolesByUserIdAsync(Guid userId);
- Task<bool> DeleteByRoleIdAsync(Guid roleId);
- Task CreateRolePrivAsync(TSYS_RolePriv entity);
- Task<IEnumerable<TsysRolePrivViewModel>> GetRolePrivsByRoleIdAsync(string roleId);
- }
- }
|