C# 클래스 TeamBins.Services.CommentManager

상속: ICommentManager
파일 보기 프로젝트 열기: kshyju/ProjectPlanningTool

공개 메소드들

메소드 설명
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