public CustomerController(CustomerQueryComponent CustomerQuery,
                           CustomerComponent CustomerComponent,
                           ProductQueryComponent productQueryComponent) : base()
 {
     this._productQueryComponent  = productQueryComponent;
     this._customerQueryComponent = CustomerQuery;
     this._customerComponent      = CustomerComponent;
 }
 public ProductController(ProductQueryComponent productQueryComponent,
                          ProductComponent productComponent,
                          JourneyQueryComponent journeyQueryComponent)
 {
     this._productQueryComponent = productQueryComponent;
     this._productComponent      = productComponent;
     this._journeyQueryComponent = journeyQueryComponent;
 }
Exemple #3
0
 public AddOrderModel(
     CustomersQueryComponent customersQueryComponent,
     ProductQueryComponent productQueryComponent,
     IDateComponent dateComponent)
 {
     _customersQueryComponent = customersQueryComponent ?? throw new ArgumentNullException(nameof(customersQueryComponent));
     _productQueryComponent   = productQueryComponent ?? throw new ArgumentNullException(nameof(productQueryComponent));
     _dateComponent           = dateComponent ?? throw new ArgumentNullException(nameof(dateComponent));
 }
Exemple #4
0
 public IndexModel(ProductQueryComponent productQueryComponent)
 {
     _productQueryComponent = productQueryComponent;
 }
Exemple #5
0
 public DetailsModel(ProductQueryComponent productQueryComponent)
 {
     _productQueryComponent = productQueryComponent;
 }