コード例 #1
0
 // 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;
     } 
コード例 #2
0
 public HomeController(IClothingRepository repo)
 {
     repository = repo;
 }
コード例 #3
0
 public ProductsController(IClothingRepository repo)
 {
     blob       = new BlobStorageHelper();
     repository = repo;
 }
コード例 #4
0
 public BlogController(IClothingRepository repo)
 {
     repository = repo;
 }
コード例 #5
0
 public LooksController(IClothingRepository repo)
 {
     repository = repo;
 }
コード例 #6
0
 // Ctor
 public AdminClothingController (IClothingRepository repo) 
     => clothingRepository = repo;
コード例 #7
0
 public WardrobeController(IClothingRepository clothingRepository)
 {
     _clothingRepository = clothingRepository;
 }
コード例 #8
0
 public CheckoutController(IClothingRepository repo)
 {
     repository = repo;
 }
コード例 #9
0
 public AccountController(IClothingRepository repo)
 {
     repository = repo;
 }
コード例 #10
0
 public CatalogueController(IClothingRepository repo)
 {
     repository = repo;
 }