Beispiel #1
0
 public ClothController(IClothRepository clothRepository, ICategoryRepository categoryRepository, ISexRepository sexRepository)
 {
     _clothRepository    = clothRepository;
     _categoryRepository = categoryRepository;
     _sexRepository      = sexRepository;
 }
Beispiel #2
0
 public HomeController(IClothRepository clothRepository, IWebHostEnvironment hostingEnvironment)
 {
     _clothRepository        = clothRepository;
     this.hostingEnvironment = hostingEnvironment;
 }
 public ShoppingCartController(IClothRepository clothRepository, ShoppingCart shoppingCart)
 {
     _clothRepository = clothRepository;
     _shoppingCart    = shoppingCart;
 }
Beispiel #4
0
 public HomeController(IClothRepository clothRepository)
 {
     _clothRepository = clothRepository;
 }
Beispiel #5
0
 public HomeController(IClothRepository cloth)
 {
     clothRepository = cloth;
 }