Example #1
0
 public CustomerController(ICustomerAppService CustomerAppService, IQuotationAppService QuotationAppService, ICustomerRepository CustomerRepository, IHostingEnvironment hostingEnvironment)
 {
     _CustomerAppService  = CustomerAppService;
     _customerRepository  = CustomerRepository;
     _hostingEnvironment  = hostingEnvironment;
     _QuotationAppService = QuotationAppService;
 }
Example #2
0
 public QuotationController(IQuotationAppService QuotationAppService, IUnitRepository UnitRepository
                            , IQuotationItemAppService QuotationItemAppService, IHostingEnvironment hostingEnvironment)
 {
     _QuotationAppService     = QuotationAppService;
     _UnitRepository          = UnitRepository;
     _QuotationItemAppService = QuotationItemAppService;
     _hostingEnvironment      = hostingEnvironment;
 }
Example #3
0
        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));
 }