예제 #1
0
 public UpdateCommandHandler(IFarmerOrderRepository farmerOrderRepository,
                             IFarmerOrderQueries farmerOrderQueries,
                             IProductQueries productQueries)
 {
     this.farmerOrderRepository = farmerOrderRepository;
     this.farmerOrderQueries    = farmerOrderQueries;
     this.productQueries        = productQueries;
 }
 public UpdateInCollectorCommandHandler(IFarmerOrderRepository farmerOrderRepository,
                                        IFarmerOrderQueries farmerOrderQueries,
                                        IFarmerRetailerOrderItemQueries farmerRetailerOrderItemQueries,
                                        IMediator mediator)
 {
     this.farmerOrderRepository          = farmerOrderRepository;
     this.farmerOrderQueries             = farmerOrderQueries;
     this.farmerRetailerOrderItemQueries = farmerRetailerOrderItemQueries;
     this.mediator = mediator;
 }
예제 #3
0
 public AddCommandHandler(IFarmerOrderRepository farmerOrderRepository,
                          IFarmerOrderQueries farmerOrderQueries,
                          IFarmerBuyingCalendarRepository farmerBuyingCalendarRepository,
                          IFarmerBuyingCalendarQueries farmerBuyingCalendarQueries,
                          IFarmerRetailerOrderItemRepository farmerRetailerOrderItemRepository,
                          IFarmerRetailerOrderItemQueries farmerRetailerOrderItemQueries,
                          IProductQueries productQueries = null)
 {
     this.farmerOrderRepository             = farmerOrderRepository;
     this.farmerOrderQueries                = farmerOrderQueries;
     this.farmerBuyingCalendarRepository    = farmerBuyingCalendarRepository;
     this.farmerBuyingCalendarQueries       = farmerBuyingCalendarQueries;
     this.farmerRetailerOrderItemRepository = farmerRetailerOrderItemRepository;
     this.farmerRetailerOrderItemQueries    = farmerRetailerOrderItemQueries;
     this.productQueries = productQueries;
 }
예제 #4
0
 public FarmerOrderController(IMediator mediator, IFarmerOrderQueries farmerOrderQueries, IFarmerOrderStatusQueries farmerOrderStatusQueries = null)
 {
     this.mediator                 = mediator;
     this.farmerOrderQueries       = farmerOrderQueries;
     this.farmerOrderStatusQueries = farmerOrderStatusQueries;
 }
예제 #5
0
 public UpdateStatusCommandHandler(IFarmerOrderRepository farmerOrderRepository,
                                   IFarmerOrderQueries farmerOrderQueries)
 {
     this.farmerOrderRepository = farmerOrderRepository;
     this.farmerOrderQueries    = farmerOrderQueries;
 }