public void SetUp() { this.reviewRepository = new ReviewMockRepository(); this.reviewerRepository = new ReviewerMockRepository(); this.reviewService = new ReviewService(this.reviewRepository, this.reviewerRepository); this.reviewerService = new ReviewerService(this.reviewerRepository); this.reviewController = new ReviewController(this.reviewService, this.reviewerService); }
public ReviewerApiController(ILogger logger, IReviewerService reviewerService) { _reviewerService = reviewerService; }
public ReviewController(IReviewService reviewService, IReviewerService reviewerService) { this.reviewService = reviewService; this.reviewerService = reviewerService; }