// Ctor.
 public AdminTshirtController(ITshirtRepository tshirtRepo,
     IColorRepository colorRepo,
     ISizeRepository sizeRepo,
     IClothingRepository clothingRepo,
     ITypeRepository typeRepo)
     {
         this.tshirtRepository = tshirtRepo;
         this.colorRepository = colorRepo;
         this.sizeRepository = sizeRepo;
         this.clothingRepository = clothingRepo;
         this.typeRepository = typeRepo;
     } 
Example #2
0
 public HomeController(IClothingRepository repo)
 {
     repository = repo;
 }
Example #3
0
 public ProductsController(IClothingRepository repo)
 {
     blob       = new BlobStorageHelper();
     repository = repo;
 }
Example #4
0
 public BlogController(IClothingRepository repo)
 {
     repository = repo;
 }
Example #5
0
 public LooksController(IClothingRepository repo)
 {
     repository = repo;
 }
Example #6
0
 // Ctor
 public AdminClothingController (IClothingRepository repo) 
     => clothingRepository = repo;
Example #7
0
 public WardrobeController(IClothingRepository clothingRepository)
 {
     _clothingRepository = clothingRepository;
 }
Example #8
0
 public CheckoutController(IClothingRepository repo)
 {
     repository = repo;
 }
Example #9
0
 public AccountController(IClothingRepository repo)
 {
     repository = repo;
 }
Example #10
0
 public CatalogueController(IClothingRepository repo)
 {
     repository = repo;
 }