예제 #1
0
        public CustomersController(ICustomersQueryProcessor customerQueryProcessor, IReviewsQueryProcessor reviewsQueryProcessor,
                                   IComplaintsQueryProcessor complaintsQueryProcessor)
        {
            _customersQueryProcessor  = customerQueryProcessor;
            _reviewsQueryProcessor    = reviewsQueryProcessor;
            _complaintsQueryProcessor = complaintsQueryProcessor;

            _userTypeComparer = new UserTypeComparer();
        }
예제 #2
0
 public ReviewsController(IReviewsQueryProcessor ReviewsQueryProcessor)
 {
     _reviewsQueryProcessor = ReviewsQueryProcessor;
 }