public CustomersController( ICustomersQuery customersquery, ICustomersCommand customerCommand, ICustomersFactory customerFactory, IResponseFormatFactory responseFactory, ILogger <CustomersController> logger ) { _query = customersquery; _command = customerCommand; _factory = customerFactory; _responseFactory = responseFactory; _logger = logger; }
public WorkOrdersController(IWorkOrdersCommand commands, IWorkOrdersFactory factory, IWorkOrdersQuery query, IResponseFormatFactory resposeFactory, IEmployeesQuery employeeQuery, ILogger <WorkOrdersController> logger, ISalesOrderQuery salesQuery) { _command = commands; _query = query; _factory = factory; _response = resposeFactory; _salesQuery = salesQuery; _logger = logger; _employeeQuery = employeeQuery; }