C# Class ReviewR.Web.Services.ReviewService

Mostra file Open project: anurse/ReviewR Class Usage Examples

Public Methods

Method Description
CreateReview ( string name, string description, int ownerId ) : ReviewR.Web.Models.Review
GetReview ( int id ) : ReviewR.Web.Models.Review
GetReviewsAssignedTo ( int userId ) : IEnumerable
GetReviewsCreatedBy ( int userId ) : IEnumerable
ReviewService ( IDataRepository data ) : System

Protected Methods

Method Description
ReviewService ( ) : System

Method Details

CreateReview() public method

public CreateReview ( string name, string description, int ownerId ) : ReviewR.Web.Models.Review
name string
description string
ownerId int
return ReviewR.Web.Models.Review

GetReview() public method

public GetReview ( int id ) : ReviewR.Web.Models.Review
id int
return ReviewR.Web.Models.Review

GetReviewsAssignedTo() public method

public GetReviewsAssignedTo ( int userId ) : IEnumerable
userId int
return IEnumerable

GetReviewsCreatedBy() public method

public GetReviewsCreatedBy ( int userId ) : IEnumerable
userId int
return IEnumerable

ReviewService() protected method

protected ReviewService ( ) : System
return System

ReviewService() public method

public ReviewService ( IDataRepository data ) : System
data IDataRepository
return System