Exemple #1
0
 public SalesOrderController(ISalesOrderFactory factory,
                             ISalesOrderQuery query,
                             ISalesOrderCommand command,
                             ILogger <SalesOrderController> logger,
                             ICustomersQuery customerQuery,
                             IEmployeesQuery employeeQuery,
                             ISalesOrderReportQuery salesReportQuery)
 {
     _factory          = factory;
     _command          = command;
     _query            = query;
     _customerQuery    = customerQuery;
     _employeeQuery    = employeeQuery;
     _salesReportQuery = salesReportQuery;
 }
 public SalesController(IConfiguration configuration, ISalesOrderFactory salesOrderFactory)
 {
     Configuration     = configuration;
     SalesOrderFactory = salesOrderFactory;
 }