public OrderController(IOrderService orderService, IOrderDetailService orderDetailService, IStoreRepo storeRepo, ICategoryProductRepo categoryProductRepo, IUserRepo userRepo) { this.orderService = orderService; this.orderDetailService = orderDetailService; this.storeRepo = storeRepo; this.categoryProductRepo = categoryProductRepo; this.userRepo = userRepo; }
public OrderService(IOrderRepo orderRepo, IStoreRepo storeRepo, ICategoryProductRepo categoryProductRepo, IUserRepo userRepo, IOrderDetailRepo orderDetailRepo) { this.orderRepo = orderRepo; this.storeRepo = storeRepo; this.categoryProductRepo = categoryProductRepo; this.userRepo = userRepo; this.orderDetailRepo = orderDetailRepo; }