C# Класс TeamBins.Services.CommentManager

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

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

Метод Описание
CommentManager ( ICommentRepository commentRepository, IUserAuthHelper userSessionHelper, IIssueRepository issueRepository, IActivityRepository activityRepository, IEmailManager emailManager, ITeamRepository teamRepository, IEmailRepository emailRepository, IOptions settings ) : System
Delete ( int id ) : void
GetComment ( int id ) : TeamBins.Common.CommentVM
GetComments ( int issueId ) : IEnumerable
SaveActivity ( int commentId, int issueId ) : ActivityDto
SaveComment ( TeamBins.Common.CommentVM comment ) : int
SendEmailNotificaionForNewComment ( TeamBins.Common.CommentVM comment ) : System.Threading.Tasks.Task

Send email to subscribers of the team about the new comment

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

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

public CommentManager ( ICommentRepository commentRepository, IUserAuthHelper userSessionHelper, IIssueRepository issueRepository, IActivityRepository activityRepository, IEmailManager emailManager, ITeamRepository teamRepository, IEmailRepository emailRepository, IOptions settings ) : System
commentRepository ICommentRepository
userSessionHelper IUserAuthHelper
issueRepository IIssueRepository
activityRepository IActivityRepository
emailManager IEmailManager
teamRepository ITeamRepository
emailRepository IEmailRepository
settings IOptions
Результат System

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

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

public SaveActivity ( int commentId, int issueId ) : ActivityDto
commentId int
issueId int
Результат TeamBins.Common.ViewModels.ActivityDto

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

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

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

Send email to subscribers of the team about the new comment
public SendEmailNotificaionForNewComment ( TeamBins.Common.CommentVM comment ) : System.Threading.Tasks.Task
comment TeamBins.Common.CommentVM
Результат System.Threading.Tasks.Task