public ShoppingCartController(IClotheRepository clothesRepository,
                               ShoppingCart shoppingCart, ApplicationDbContext context)
 {
     cr = clothesRepository;
     sc = shoppingCart;
     db = context;
 }
 public ClothesOldController(ApplicationDbContext context, IClotheRepository clothesRepo)
 {
     db = context;
     cr = clothesRepo;
 }
Exemplo n.º 3
0
 public ClothesController(ApplicationDbContext context, IClotheRepository clotheRepository, IServicesRepository servicesRepository)
 {
     db = context;
     cr = clotheRepository;
     sr = servicesRepository;
 }