C# Класс TeamBins.DataAccess.CommentRepository

Наследование: ICommentRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CommentRepository() публичный Метод

public CommentRepository ( IConfiguration configuration ) : Microsoft.Extensions.Configuration
configuration IConfiguration
Результат Microsoft.Extensions.Configuration

Delete() публичный Метод

public Delete ( int id ) : void
id int
Результат void

GetComment() публичный Метод

public GetComment ( int id ) : TeamBins.Common.CommentVM
id int
Результат TeamBins.Common.CommentVM

GetComments() публичный Метод

public GetComments ( int issueId ) : IEnumerable
issueId int
Результат IEnumerable

Save() публичный Метод

public Save ( TeamBins.Common.CommentVM comment ) : int
comment TeamBins.Common.CommentVM
Результат int