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, IRepositoryBaseById { Task DeleteByUserIdAsync(Guid userId); Task> GetUserRolesByUserIdAsync(Guid userId); Task DeleteByRoleIdAsync(Guid roleId); Task CreateRolePrivAsync(TSYS_RolePriv entity); Task> GetRolePrivsByRoleIdAsync(string roleId); } }