Example #1
0
 public HomeController(
     ICategoryRepository repo,
     IOurTeamRepository teamRepo,
     IWhatDoWeOfferyRepository offerRepo,
     ITypesOfPrintingRepository typeRepo)
 {
     repository      = repo;
     teamRepository  = teamRepo;
     offerRepository = offerRepo;
     typeRepository  = typeRepo;
 }
Example #2
0
 public AdminController(
     IProductRepository repo,
     ICategoryRepository categoryRepo,
     IOurTeamRepository teamRepo,
     IWhatDoWeOfferyRepository offerRepo,
     ITypesOfPrintingRepository typeRepo
     )
 {
     repository         = repo;
     categoryRepository = categoryRepo;
     teamRepository     = teamRepo;
     offerRepository    = offerRepo;
     typeRepository     = typeRepo;
 }