C# Class TeamBins.Services.CommentManager

Inheritance: ICommentManager
Afficher le fichier Open project: kshyju/ProjectPlanningTool

Méthodes publiques

Méthode Description
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

Method Details

CommentManager() public méthode

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
Résultat System

Delete() public méthode

public Delete ( int id ) : void
id int
Résultat void

GetComment() public méthode

public GetComment ( int id ) : TeamBins.Common.CommentVM
id int
Résultat TeamBins.Common.CommentVM

GetComments() public méthode

public GetComments ( int issueId ) : IEnumerable
issueId int
Résultat IEnumerable

SaveActivity() public méthode

public SaveActivity ( int commentId, int issueId ) : ActivityDto
commentId int
issueId int
Résultat TeamBins.Common.ViewModels.ActivityDto

SaveComment() public méthode

public SaveComment ( TeamBins.Common.CommentVM comment ) : int
comment TeamBins.Common.CommentVM
Résultat int

SendEmailNotificaionForNewComment() public méthode

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
Résultat System.Threading.Tasks.Task