public ProductController(IGenericsRepo <ProductType> productTypes, IGenericsRepo <ProductBrand> productBrand, IProductRepo productRepo, IMapper mapper) { _mapper = mapper; _productBrand = productBrand; _productRepo = productRepo; _productTypes = productTypes; }
public BasketController(UserManager <User> userManager, IMapper mapper, IGenericsRepo <BasketItem> basketGenericRepo, IBasketRepo basketRepo, IProductRepo productRepo) { _mapper = mapper; _userManager = userManager; _basketRepo = basketRepo; _productRepo = productRepo; _basketGenericRepo = basketGenericRepo; }
public OrderController(IGenericsRepo <Order> OrderGenericsRepo, IBasketRepo basketRepo, UserManager <User> userManager, IMapper mapper, IOrderRepo orderRepo, IGenericsRepo <Address> addressRepo) { _mapper = mapper; _userManager = userManager; _orderRepo = orderRepo; _address = addressRepo; _basketRepo = basketRepo; _orderGenericsRepo = OrderGenericsRepo; }