Example #1
0
 public CustomerController(ICommerceDatabase db, ICustomerService customerService, ICountryService countryService, IOrderService orderService,
     IExtendedQueryManager extendedQueryManager)
 {
     _db = db;
     _customerService = customerService;
     _countryService = countryService;
     _orderService = orderService;
     _extendedQueryManager = extendedQueryManager;
 }
Example #2
0
        public OrderController(ICommerceDatabase db, IOrderService orderService, ICustomerService customerService, IProductService productService, ICountryService countryService, IPaymentMethodService paymentMethodService,
            IExtendedQueryManager extendedQueryManager)
        {
            _db = db;
            _orderService = orderService;
            _customerService = customerService;
            _productService = productService;
            _countryService = countryService;
            _paymentMethodService = paymentMethodService;

            _extendedQueryManager = extendedQueryManager;
        }
Example #3
0
 public ProductController(
         ICommerceDatabase db,
         ISettingService settingService,
         IProductService productService,
         IProductTypeService productTypeService,
         IBrandService brandService,
         ICategoryService categoryService,
         IExtendedQueryManager extendedQueryManager)
 {
     _db = db;
     _settingService = settingService;
     _productService = productService;
     _productTypeService = productTypeService;
     _brandService = brandService;
     _categoryService = categoryService;
     _extendedQueryManager = extendedQueryManager;
 }