public bool InRole(AclRole role) { return(GetUserRoles().Any(r => r.IdRole == (int)role)); }
public IQueryable <AclUser> GetUsersBy(AclRole role) { return(_securityRepository.GetUsersBy((int)role)); }
public bool InRole(AclRole role) { return(GetUserRoles().Any(r => r.IdRole == (int)role)); }
public IQueryable <AclUser> GetUsersBy(AclRole role) { return(_securityRepository.GetUsersBy((int)role)); }