ScientificReport
ScientificReport.BLL.Interfaces.IDepartmentService Interface Reference
Inheritance diagram for ScientificReport.BLL.Interfaces.IDepartmentService:
Inheritance graph
Collaboration diagram for ScientificReport.BLL.Interfaces.IDepartmentService:
Collaboration graph

Public Member Functions

int GetCount ()
 
IEnumerable< DepartmentGetPage (int page, int count)
 
IEnumerable< DepartmentGetAll ()
 
IEnumerable< DepartmentFilter (DepartmentIndexModel model)
 
IEnumerable< DepartmentGetAllWhere (Func< Department, bool > predicate)
 
Department GetById (Guid id)
 
Department Get (Func< Department, bool > predicate)
 
void CreateItem (Department department)
 
void UpdateItem (Department department)
 
void DeleteById (Guid id)
 
bool Exists (Guid id)
 
void AddScientificWork (Guid id, ScientificWork scientificWork)
 
void RemoveScientificWork (Guid id, ScientificWork scientificWork)
 
void AddUser (Guid id, UserProfile user)
 
void RemoveUser (Guid id, UserProfile user)
 
bool UserIsHired (UserProfile user)
 
bool UserWorksInDepartment (UserProfile headOfDepartment, Guid userId)
 
IEnumerable< DepartmentSortDepartmentsBy (Department.SortByOption option, int page, int count)
 

Detailed Description

Definition at line 10 of file IDepartmentService.cs.

Member Function Documentation

void ScientificReport.BLL.Interfaces.IDepartmentService.AddScientificWork ( Guid  id,
ScientificWork  scientificWork 
)
void ScientificReport.BLL.Interfaces.IDepartmentService.AddUser ( Guid  id,
UserProfile  user 
)
void ScientificReport.BLL.Interfaces.IDepartmentService.CreateItem ( Department  department)
void ScientificReport.BLL.Interfaces.IDepartmentService.DeleteById ( Guid  id)
bool ScientificReport.BLL.Interfaces.IDepartmentService.Exists ( Guid  id)
IEnumerable<Department> ScientificReport.BLL.Interfaces.IDepartmentService.Filter ( DepartmentIndexModel  model)
Department ScientificReport.BLL.Interfaces.IDepartmentService.Get ( Func< Department, bool >  predicate)
IEnumerable<Department> ScientificReport.BLL.Interfaces.IDepartmentService.GetAll ( )
IEnumerable<Department> ScientificReport.BLL.Interfaces.IDepartmentService.GetAllWhere ( Func< Department, bool >  predicate)
Department ScientificReport.BLL.Interfaces.IDepartmentService.GetById ( Guid  id)
int ScientificReport.BLL.Interfaces.IDepartmentService.GetCount ( )
IEnumerable<Department> ScientificReport.BLL.Interfaces.IDepartmentService.GetPage ( int  page,
int  count 
)
void ScientificReport.BLL.Interfaces.IDepartmentService.RemoveScientificWork ( Guid  id,
ScientificWork  scientificWork 
)
void ScientificReport.BLL.Interfaces.IDepartmentService.RemoveUser ( Guid  id,
UserProfile  user 
)
IEnumerable<Department> ScientificReport.BLL.Interfaces.IDepartmentService.SortDepartmentsBy ( Department.SortByOption  option,
int  page,
int  count 
)
void ScientificReport.BLL.Interfaces.IDepartmentService.UpdateItem ( Department  department)
bool ScientificReport.BLL.Interfaces.IDepartmentService.UserIsHired ( UserProfile  user)
bool ScientificReport.BLL.Interfaces.IDepartmentService.UserWorksInDepartment ( UserProfile  headOfDepartment,
Guid  userId 
)

The documentation for this interface was generated from the following file: