예제 #1
0
 public RunRepository(iBalekaDBContext dbContext, IEventRepository _eventRepo, IEventRegistrationRepository _eventRegRepo)
     : base(dbContext)
 {
     DbContext    = dbContext;
     eventRepo    = _eventRepo;
     eventRegRepo = _eventRegRepo;
 }
예제 #2
0
 public EventController(IEventRepository repo, ApplicationDbContext ctx, IEventRegistrationRepository regRepo, UserManager <ApplicationUser> userMrg)
 {
     repository             = repo;
     context                = ctx;
     userManager            = userMrg;
     registrationRepository = regRepo;
 }
 //passing object repositories into the constructor
 public VolunteerDonorDashboardController(IVolunteerHourRepository hourRepo, IEventRegistrationRepository regRepo, IEventRepository eventRepo, IGCPTaskRepository taskRepo, UserManager <ApplicationUser> userMrg, ApplicationDbContext ctx)
 {
     repository             = hourRepo;
     registrationRepository = regRepo;
     eventRepository        = eventRepo;
     userManager            = userMrg;
     context = ctx;
 }
예제 #4
0
 public EventRegistrationServiceImpl(IEventRepository IEventRepository, IEventRegistrationRepository IEventRegistrationRepository)
 {
     _IEventRepository             = IEventRepository;
     _IEventRegistrationRepository = IEventRegistrationRepository;
 }
예제 #5
0
 public EventRegistrationService(IEventRegistrationRepository _repo, IUnitOfWork _unitOfWork)
 {
     _eventRegistrationRepository = _repo;
     unitOfWork = _unitOfWork;
 }