public BugReportController(IBugReportFinder bugReportFinder,
                            IBugReportRater bugReportRater,
                            IMapper mapper,
                            IUserFinder userFinder,
                            ICommentCreator commentCreator,
                            IBugReportCreator bugReportCreator,
                            IPhotoFinder photoFinder
                            )
 {
     this.userFinder       = userFinder;
     this.bugReportFinder  = bugReportFinder;
     this.bugReportRater   = bugReportRater;
     this.bugReportCreator = bugReportCreator;
     this._mapper          = mapper;
     this.commentCreator   = commentCreator;
     this.photoFinder      = photoFinder;
 }
Esempio n. 2
0
 public CommentCreatorService(ICommentCreator commentCreator)
 {
     this.commentCreator = commentCreator;
 }