/// <summary>
 /// Initializes a new instance of the <see cref="OrdersController"/> class.
 /// </summary>
 /// <param name="orderApp">Order application flow.</param>
 /// <param name="urlHelperFactory">See <see cref="IUrlHelperFactory"/>.</param>
 public OrdersController(
     IOrderApp orderApp,
     IUrlHelperFactory urlHelperFactory)
 {
     this.urlHelperFactory = urlHelperFactory;
     this.orderApp         = orderApp;
 }
Пример #2
0
 public OrderService(IOrderApp orderApp,
                     IPricingApp pricingApp,
                     IProductApp productApp,
                     IOrderItemApp orderItemApp,
                     IMeasureUnitApp measureUnitApp,
                     IDataSheetService dataSheetService,
                     ITransactionApp transactionApp)
 {
     this.orderApp         = orderApp;
     this.pricingApp       = pricingApp;
     this.productApp       = productApp;
     this.orderItemApp     = orderItemApp;
     this.measureUnitApp   = measureUnitApp;
     this.dataSheetService = dataSheetService;
     this.transactionApp   = transactionApp;
 }