public RunRepository(iBalekaDBContext dbContext, IEventRepository _eventRepo, IEventRegistrationRepository _eventRegRepo) : base(dbContext) { DbContext = dbContext; eventRepo = _eventRepo; eventRegRepo = _eventRegRepo; }
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; }
public EventRegistrationServiceImpl(IEventRepository IEventRepository, IEventRegistrationRepository IEventRegistrationRepository) { _IEventRepository = IEventRepository; _IEventRegistrationRepository = IEventRegistrationRepository; }
public EventRegistrationService(IEventRegistrationRepository _repo, IUnitOfWork _unitOfWork) { _eventRegistrationRepository = _repo; unitOfWork = _unitOfWork; }