예제 #1
0
 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;
 }
예제 #2
0
 public CommentCreatorService(ICommentCreator commentCreator)
 {
     this.commentCreator = commentCreator;
 }