Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
GetVisibleByUserCore ( string application, string login ) : IQueryable |
public GetVisibleByUser ( string application, string login ) : IQueryable |
||
application | string | |
login | string | |
return | IQueryable |
public UnitService ( IRoleService roleService, IRepository |
||
roleService | IRoleService | |
schoolRepository | IRepository |
|
unitRepository | IRepository |
|
unitAssociationRespository | IRepository |
|
return | System.Linq |