C# Класс Catbert4.Services.UserManagement.UnitService

Наследование: IUnitService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetVisibleByUser ( string application, string login ) : IQueryable

Get all of the units associated with the given user, depending on role ManageAll: GetAllUnits ManageSchool: Get All Units which are associated with the user's schools ManageUnit: Get Just the units you are associated with

UnitService ( IRoleService roleService, IRepository schoolRepository, IRepository unitRepository, IRepository unitAssociationRespository ) : System.Linq

Приватные методы

Метод Описание
GetVisibleByUserCore ( string application, string login ) : IQueryable

Описание методов

GetVisibleByUser() публичный Метод

Get all of the units associated with the given user, depending on role ManageAll: GetAllUnits ManageSchool: Get All Units which are associated with the user's schools ManageUnit: Get Just the units you are associated with
public GetVisibleByUser ( string application, string login ) : IQueryable
application string
login string
Результат IQueryable

UnitService() публичный Метод

public UnitService ( IRoleService roleService, IRepository schoolRepository, IRepository unitRepository, IRepository unitAssociationRespository ) : System.Linq
roleService IRoleService
schoolRepository IRepository
unitRepository IRepository
unitAssociationRespository IRepository
Результат System.Linq