public ProductDetailController(ICategoryService _categoryService, IProductService _productService) { categoryService = _categoryService; productService = _productService; ambrella = new Ambrella(null, categoryService, productService, null); }
public ShoppingCardController(IUserService _userService, IProductService _productService, IOrderService _orderService) { productService = _productService; orderService = _orderService; userService = _userService; ambrella = new Ambrella(userService, null, productService, orderService); }
public WebAPIController(IUserService _userService, ICategoryService _categoryService, IProductService _productService, IOrderService _orderService) { categoryService = _categoryService; productService = _productService; orderService = _orderService; userService = _userService; ambrella = new Ambrella(userService, categoryService, productService, orderService); }
public PaymentController(IUserService _userService, IOrderService _orderService) { userService = _userService; orderService = _orderService; ambrella = new Ambrella(userService, null, null, orderService); }