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;
 }
 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;
 }
Example #3
0
 public HomeController(ILogger <HomeController> logger, IStoreRepo StoreRepo, ICustomerRepo CustomerRepo, IOrderRepo OrderRepo, IProductRepo ProductRepo)
 {
     _logger       = logger;
     _storeRepo    = StoreRepo;
     _customerRepo = CustomerRepo;
     _orderRepo    = OrderRepo;
     _productRepo  = ProductRepo;
 }
 public ShoppingCartController(ILogger <ShoppingCartController> logger, IStoreRepo StoreRepo, ICustomerRepo CustomerRepo, IOrderRepo OrderRepo, IProductRepo ProductRepo, IShoppingCart ShoppingCart)
 {
     _logger       = logger;
     _storeRepo    = StoreRepo;
     _customerRepo = CustomerRepo;
     _orderRepo    = OrderRepo;
     _productRepo  = ProductRepo;
     _shoppingCart = ShoppingCart;
 }
Example #5
0
        public Supervisor(IMapper mapper, ICustomerRepo ICustomerRepo,
                          IItemRepo IItemRepo, IInvoiceRepo IInvoiceRepo,
                          IStoreRepo IStoreRepo)

        {
            _mapper        = mapper;
            _ICustomerRepo = ICustomerRepo;
            _IInvoiceRepo  = IInvoiceRepo;
            _IItemRepo     = IItemRepo;
            _IStoreRepo    = IStoreRepo;
        }
Example #6
0
 public StoreController(IStoreRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Example #7
0
 public HomeController(IStoreRepo repo) =>
Example #8
0
 public StoreService(IStoreRepo storeRepo)
 {
     _storeRepo = storeRepo;
 }
Example #9
0
 public StoreController(IStoreRepo repo) =>
Example #10
0
 public StoreController(IStoreRepo storeRepo)
 {
     this._repo = storeRepo ?? throw new ArgumentNullException(nameof(storeRepo));
 }
Example #11
0
 public OrderController(IStoreRepo storeRepo, IUserOrderRepo orderRepo)
 {
     _storeRepo = storeRepo;
     _orderRepo = orderRepo;
 }
Example #12
0
 public InvoiceController(IStoreRepo store, IItemRepo item, IInvoiceRepo invoice)
 {
     this.store   = store;
     this.item    = item;
     this.invoice = invoice;
 }
 public HomeController(IStoreRepo _repo)
 {
     repo = _repo;
 }
Example #14
0
 public ItemsController(IItemRepo item, IStoreRepo store)
 {
     this.item  = item;
     this.store = store;
 }
Example #15
0
 public CustomerController(IStoreRepo repo) =>
Example #16
0
 public StoreController()
 {
     _storeRepo = new StoreRepo();
 }
Example #17
0
 public StoreController(IStoreRepo storeRepo)
 {
     _storeRepo = storeRepo;
 }
Example #18
0
 public StoreService(IStoreRepo repo)
 {
     _repo = repo;
 }
Example #19
0
 public StoreService(IStoreRepo repo)
 {
     this.repo = repo;
 }
Example #20
0
 public StoreController(IStoreRepo store, IItemRepo item)
 {
     this.store = store;
     this.item  = item;
 }
Example #21
0
 public MenuController(IUserOrderRepo orderRepo, IStoreRepo storeRepo, IAccountRepo accountRepo)
 {
     _orderRepo   = orderRepo;
     _storeRepo   = storeRepo;
     _accountRepo = accountRepo;
 }
Example #22
0
 public StoreBL(IStoreRepo repo)
 {
     _repo = repo;
 }
Example #23
0
 public OrderController(IStoreRepo repo) =>