Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 5
0
        public Supervisor(IMapper mapper, ICustomerRepo ICustomerRepo,
                          IItemRepo IItemRepo, IInvoiceRepo IInvoiceRepo,
                          IStoreRepo IStoreRepo)

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