Пример #1
0
 public EditReviewCommandHandler(
     ICurrentUser currentUser,
     IReviewDomainRepository reviewRepository)
 {
     this.currentUser      = currentUser;
     this.reviewRepository = reviewRepository;
 }
 public CreateReviewCommandHandler(
     ICurrentUser currentUser,
     IReviewDomainRepository reviewRepository,
     IReviewFactory reviewFactory)
 {
     this.currentUser      = currentUser;
     this.reviewRepository = reviewRepository;
     this.reviewFactory    = reviewFactory;
 }