Catbert4.Services.UserManagement.RoleService.GetRolesForUser C# (CSharp) Метод

GetRolesForUser() приватный Метод

private GetRolesForUser ( string application, string login ) : IQueryable
application string
login string
Результат IQueryable
        private IQueryable<Role> GetRolesForUser(string application, string login)
        {
            var allRoles = from p in _permissionRepository.Queryable
                           where p.Application.Name == application
                                 && p.User.LoginId == login
                           select p.Role;

            return allRoles;
        }