Пример #1
0
 // 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;
 }
Пример #2
0
 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;
 }