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

Public Member Functions

IEnumerable< GrantGetAll ()
 
IEnumerable< GrantGetAllWhere (Func< Grant, bool > predicate)
 
IEnumerable< GrantGetItemsByRole (ClaimsPrincipal userClaims)
 
IEnumerable< GrantGetPageByRole (int page, int count, ClaimsPrincipal userClaims)
 
int GetCountByRole (ClaimsPrincipal userClaims)
 
Grant GetById (Guid id)
 
Grant Get (Func< Grant, bool > predicate)
 
void CreateItem (GrantModel model)
 
void UpdateItem (GrantEditModel model)
 
void DeleteById (Guid id)
 
bool Exists (Guid id)
 
void AddUser (Grant grant, UserProfile userProfile)
 
void RemoveUser (Grant grant, UserProfile userProfile)
 
IEnumerable< UserProfileGetUsers (Guid id)
 

Detailed Description

Definition at line 10 of file IGrantService.cs.

Member Function Documentation

void ScientificReport.BLL.Interfaces.IGrantService.AddUser ( Grant  grant,
UserProfile  userProfile 
)
void ScientificReport.BLL.Interfaces.IGrantService.CreateItem ( GrantModel  model)
void ScientificReport.BLL.Interfaces.IGrantService.DeleteById ( Guid  id)
bool ScientificReport.BLL.Interfaces.IGrantService.Exists ( Guid  id)
Grant ScientificReport.BLL.Interfaces.IGrantService.Get ( Func< Grant, bool >  predicate)
IEnumerable<Grant> ScientificReport.BLL.Interfaces.IGrantService.GetAll ( )
IEnumerable<Grant> ScientificReport.BLL.Interfaces.IGrantService.GetAllWhere ( Func< Grant, bool >  predicate)
Grant ScientificReport.BLL.Interfaces.IGrantService.GetById ( Guid  id)
int ScientificReport.BLL.Interfaces.IGrantService.GetCountByRole ( ClaimsPrincipal  userClaims)
IEnumerable<Grant> ScientificReport.BLL.Interfaces.IGrantService.GetItemsByRole ( ClaimsPrincipal  userClaims)
IEnumerable<Grant> ScientificReport.BLL.Interfaces.IGrantService.GetPageByRole ( int  page,
int  count,
ClaimsPrincipal  userClaims 
)
IEnumerable<UserProfile> ScientificReport.BLL.Interfaces.IGrantService.GetUsers ( Guid  id)
void ScientificReport.BLL.Interfaces.IGrantService.RemoveUser ( Grant  grant,
UserProfile  userProfile 
)
void ScientificReport.BLL.Interfaces.IGrantService.UpdateItem ( GrantEditModel  model)

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