public ShipmentController( IConfiguration Configuration, IHostingEnvironment HostingEnvironment, IQuincusAddressTranslationRequest QuincusAddressTranslationRequest, IShipmentAsync shipmentAsync, IAddressBookService addressBookService, IAddressAuditLogAsync addressAuditLogAsync, IEntityValidationService entityValidationService, ApplicationDbContext applicationDbContext, IShipperCompanyAsync shipperCompanyAsync ) { this.configuration = Configuration; this._hostingEnvironment = HostingEnvironment; this._shipmentService = shipmentAsync; this._context = applicationDbContext; this._addressBookService = addressBookService; this._entityValidationService = entityValidationService; this._workflowService = new WorkflowService(_context, _addressBookService, _entityValidationService); this._quincusAddressTranslationRequest = QuincusAddressTranslationRequest; this.addressAuditLogService = addressAuditLogAsync; this._shipperCompanyService = shipperCompanyAsync; }
public AddressBookController(IAddressBookService addressBookService, IAddressAuditLogAsync addressAuditLogAsync) { this.addressBookService = addressBookService; this.addressAuditLogService = addressAuditLogAsync; }