ScientificReport
ScientificReport.BLL.Services.ReviewService Class Reference
Inheritance diagram for ScientificReport.BLL.Services.ReviewService:
Inheritance graph
Collaboration diagram for ScientificReport.BLL.Services.ReviewService:
Collaboration graph

Public Member Functions

 ReviewService (ScientificReportDbContext context)
 
virtual IEnumerable< ReviewGetAll ()
 
virtual IEnumerable< ReviewGetAllWhere (Func< Review, bool > predicate)
 
virtual IEnumerable< ReviewGetItemsByRole (ClaimsPrincipal userClaims)
 
virtual IEnumerable< ReviewGetPageByRole (int page, int count, ClaimsPrincipal userClaims)
 
virtual int GetCountByRole (ClaimsPrincipal userClaims)
 
virtual Review GetById (Guid id)
 
virtual Review Get (Func< Review, bool > predicate)
 
virtual void CreateItem (ReviewModel model)
 
virtual void UpdateItem (ReviewEditModel model)
 
virtual void DeleteById (Guid id)
 
virtual bool Exists (Guid id)
 

Detailed Description

Definition at line 14 of file ReviewService.cs.

Constructor & Destructor Documentation

ScientificReport.BLL.Services.ReviewService.ReviewService ( ScientificReportDbContext  context)

Definition at line 20 of file ReviewService.cs.

Member Function Documentation

virtual void ScientificReport.BLL.Services.ReviewService.CreateItem ( ReviewModel  model)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 78 of file ReviewService.cs.

virtual void ScientificReport.BLL.Services.ReviewService.DeleteById ( Guid  id)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 101 of file ReviewService.cs.

virtual bool ScientificReport.BLL.Services.ReviewService.Exists ( Guid  id)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 106 of file ReviewService.cs.

virtual Review ScientificReport.BLL.Services.ReviewService.Get ( Func< Review, bool >  predicate)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 73 of file ReviewService.cs.

virtual IEnumerable<Review> ScientificReport.BLL.Services.ReviewService.GetAll ( )
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 27 of file ReviewService.cs.

virtual IEnumerable<Review> ScientificReport.BLL.Services.ReviewService.GetAllWhere ( Func< Review, bool >  predicate)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 32 of file ReviewService.cs.

virtual Review ScientificReport.BLL.Services.ReviewService.GetById ( Guid  id)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 68 of file ReviewService.cs.

virtual int ScientificReport.BLL.Services.ReviewService.GetCountByRole ( ClaimsPrincipal  userClaims)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 63 of file ReviewService.cs.

virtual IEnumerable<Review> ScientificReport.BLL.Services.ReviewService.GetItemsByRole ( ClaimsPrincipal  userClaims)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 37 of file ReviewService.cs.

Here is the call graph for this function:

virtual IEnumerable<Review> ScientificReport.BLL.Services.ReviewService.GetPageByRole ( int  page,
int  count,
ClaimsPrincipal  userClaims 
)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 58 of file ReviewService.cs.

virtual void ScientificReport.BLL.Services.ReviewService.UpdateItem ( ReviewEditModel  model)
virtual

Implements ScientificReport.BLL.Interfaces.IReviewService.

Definition at line 88 of file ReviewService.cs.


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