public CustomerController(ICustomerAppService CustomerAppService, IQuotationAppService QuotationAppService, ICustomerRepository CustomerRepository, IHostingEnvironment hostingEnvironment) { _CustomerAppService = CustomerAppService; _customerRepository = CustomerRepository; _hostingEnvironment = hostingEnvironment; _QuotationAppService = QuotationAppService; }
public QuotationController(IQuotationAppService QuotationAppService, IUnitRepository UnitRepository , IQuotationItemAppService QuotationItemAppService, IHostingEnvironment hostingEnvironment) { _QuotationAppService = QuotationAppService; _UnitRepository = UnitRepository; _QuotationItemAppService = QuotationItemAppService; _hostingEnvironment = hostingEnvironment; }
public CustomerAppService(ICustomerService CustomerService, IAddressService AddressService, IMediatorHandler bus, IBus rabbitMQBus , INotificationHandler<DomainNotification> notifications , IQuotationAppService QuotationAppService) { _service = CustomerService; _addressService = AddressService; Bus = bus; _notifications = (DomainNotificationHandler)notifications; _QuotationAppService = QuotationAppService; RabbitMQBus = rabbitMQBus; }
public QuotationController(IQuotationAppService quotationAppService) { this.quotationAppService = quotationAppService ?? throw new ArgumentNullException(nameof(quotationAppService)); }