C# Class TeamBins.DataAccess.CommentRepository

Inheritance: ICommentRepository
Show file Open project: kshyju/ProjectPlanningTool

Public Methods

Method Description
CommentRepository ( IConfiguration configuration ) : Microsoft.Extensions.Configuration
Delete ( int id ) : void
GetComment ( int id ) : TeamBins.Common.CommentVM
GetComments ( int issueId ) : IEnumerable
Save ( TeamBins.Common.CommentVM comment ) : int

Method Details

CommentRepository() public method

public CommentRepository ( IConfiguration configuration ) : Microsoft.Extensions.Configuration
configuration IConfiguration
return Microsoft.Extensions.Configuration

Delete() public method

public Delete ( int id ) : void
id int
return void

GetComment() public method

public GetComment ( int id ) : TeamBins.Common.CommentVM
id int
return TeamBins.Common.CommentVM

GetComments() public method

public GetComments ( int issueId ) : IEnumerable
issueId int
return IEnumerable

Save() public method

public Save ( TeamBins.Common.CommentVM comment ) : int
comment TeamBins.Common.CommentVM
return int