// Constructor // public AdminController(IWelcomeImageRepository repo, IGalleryImageRepository repo2, IBackgroundRepository repo3, IActivityClipRepository repo4, IDhammaQARepository repo5, IAnnualEventRepository repo6, ICustomEventRepository repo8) { welcomeImageRepo = repo; galleryImageRepo = repo2; backgroundRepo = repo3; activityClipRepo = repo4; dhammaQARepo = repo5; annualEventRepo = repo6; customEventRepo = repo8; }
public HomeController(IWelcomeImageRepository welcomeImageRepository, IGalleryImageRepository galleryImageRepository, IBackgroundRepository backgroundRepository, IActivityClipRepository activityClipRepository, IDhammaQARepository dhammaQARepository, IContactRepository contactRepository, IAnnualEventRepository annualEventRepository, ICustomEventRepository customEventRepository) { this.repository = welcomeImageRepository; this.repository2 = galleryImageRepository; this.repository3 = backgroundRepository; this.repository4 = activityClipRepository; this.repository5 = dhammaQARepository; this.repository6 = contactRepository; this.repository7 = annualEventRepository; this.repository8 = customEventRepository; }
public AdminController(IDrzewoAlejoweRepository drzewoAlejowe, IIglakGruntRepository iglakGrunt, IIglakPojemnikRepository iglakPojemnik, IKrzewLisciastyRepository krzewLisciasty, IBoxRepository boxes, IPromotionRepository promotion, IProductRepository product, IGalleryImageRepository image) { drzewoAlejoweRepository = drzewoAlejowe; iglakGruntRepository = iglakGrunt; iglakPojemnikRepository = iglakPojemnik; krzewLisciasityRepository = krzewLisciasty; boxesRepository = boxes; promotionRepository = promotion; productRepository = product; imageRepository = image; }
public ImageGalleryController(IGalleryImageRepository galleryRepositroy) { this.repository = galleryRepositroy; }
public GalleryController(IUserRepository userRepository, IGalleryImageRepository galleryimageRepository) { this.userRepository = userRepository; this.galleryimageRepository = galleryimageRepository; }