Exemple #1
0
 public EMIController(IEventRepository eventRepo, ITestimonyRepository testimonyRepo, IGalleryRepository galleryRepo, IMapper mapper,
                      IEmailService emailService, IVolunteerRepository volRepo, ISubscriptionRepository subRepo)
 {
     this.eventRepo     = eventRepo;
     this.testimonyRepo = testimonyRepo;
     this.galleryRepo   = galleryRepo;
     this.mapper        = mapper;
     this.emailService  = emailService;
     this.volRepo       = volRepo;
     _subRepo           = subRepo;
 }
 public EMIMgtController(IEventRepository eventRepo, ITestimonyRepository testimonyRepo, IGalleryRepository galleryRepo,
                         IMapper mapper, IHostingEnvironment environment, IVolunteerRepository volRepo,
                         IBackgroundTaskQueue queue, ISubscriptionRepository subscriptionRepo, IEmailService emailService)
 {
     _eventRepo         = eventRepo;
     _testimonyRepo     = testimonyRepo;
     _galleryRepo       = galleryRepo;
     _mapper            = mapper;
     hostingEnvironment = environment;
     this.volRepo       = volRepo;
     _emailService      = emailService;
     _queue             = queue;
     _subRepo           = subscriptionRepo;
 }
 public TestimonyController(ITestimonyRepository testimonyRepo)
 {
     this.testimonyRepo = testimonyRepo;
 }