public UserRoles GetRole(int id)
 {
     return(_userRolesDal.Get(u => u.RoleId == id));
 }
Пример #2
0
 public UserRolesDto Get(Expression <Func <UserRoles, bool> > filter)
 {
     return(Mapper.Map <UserRolesDto>(_userRolesDal.Get(filter)));
 }