public void Setup() { _waitListHelper = Substitute.For<IWaitListHelper>(); _volunteerRepository = Substitute.For<IVolunteerRepository>(); _jobRoleRepository = Substitute.For<IJobRoleRepository>(); _notificationService = Substitute.For<INotificationService>(); _technologyRepository = Substitute.For<ITechnologyRepository>(); _experienceLevelRepository = Substitute.For<IExperienceLevelRepository>(); }
public EmailFunctions(IMandrillEmailSender mandrillEmailSender, IVolunteerRepository volunteerRepository, IOrganisationRepository organisationRepository, ICommunicationTemplateRepository communicationTemplateRepository, IEmailSentRepository emailSentRepository, IDocumentDownload documentDownload, IBlobStorage blobStorage) { _mandrillEmailSender = mandrillEmailSender; _volunteerRepository = volunteerRepository; _organisationRepository = organisationRepository; _communicationTemplateRepository = communicationTemplateRepository; _emailSentRepository = emailSentRepository; _documentDownload = documentDownload; _blobStorage = blobStorage; }
public SchoolController( IVolunteerRepository volunteerRepository, ISchoolRepository schoolRepository, IMapper mapper ) { _volunteerRepo = volunteerRepository; _schoolRepo = schoolRepository; _mapper = mapper; }
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 TeamController( IVolunteerRepository volunteerRepository, ITeamRepository teamRepository, ISchoolRepository schoolRepository, IMapper mapper ) { _volunteerRepo = volunteerRepository; _teamRepo = teamRepository; _schoolRepo = schoolRepository; _mapper = mapper; }
public ActivityController( IVolunteerRepository volunteerRepository, UserManager <ApplicationUser> userManager, IMapper mapper, AuthenticationContext authContext ) { _repo = volunteerRepository; _userManager = userManager; _mapper = mapper; _authContext = authContext; }
public InviteAVolunteerHandler( IInvitationCodesGenerator generator, IMediator mediator, ISystemClock clock, IInvitationRepository invitationRepository, IVolunteerRepository volunteerRepository) { _volunteerRepository = volunteerRepository; _generator = generator; _mediator = mediator; _clock = clock; _invitationRepository = invitationRepository; }
protected override void Dispose(bool disposing) { if (disposing) { #pragma warning disable S1066 // Collapsible "if" statements should be merged if (_volunteerRepository != null) #pragma warning restore S1066 // Collapsible "if" statements should be merged { _volunteerRepository = null; } } base.Dispose(disposing); }
public VolunteerController(IWaitListHelper waitListHelper, IVolunteerRepository volunteerRepository, IJobRoleRepository jobRoleRepository, INotificationService notificationService, ITechnologyRepository technologyRepository, IExperienceLevelRepository xpLevelRepository) { _waitListHelper = waitListHelper; _xpLevelRepository = xpLevelRepository; _technologyRepository = technologyRepository; _jobRoleRepository = jobRoleRepository; _volunteerRepository = volunteerRepository; _notificationService = notificationService; }
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 VolunteerController() { _volunteerRepository = new VolunteerRepository(); }
public OrganisationSpecifications(IOrganisationRepository organisationRepository, IOrganisationSettingsRepository organisationSettingsRepository, IOrganisationFinancialPlanRepository organisationFinancialPlanRepository, IFinancialPlanRepository financialPlanRepository, IVolunteerRepository volunteerRepository) { _organisationRepository = organisationRepository; _organisationSettingsRepository = organisationSettingsRepository; _organisationFinancialPlanRepository = organisationFinancialPlanRepository; _financialPlanRepository = financialPlanRepository; _volunteerRepository = volunteerRepository; }
public VolunteerUnitOfWork(VolunteersDbCotext dbContext) : base(dbContext) { _volunteerRepository = new VolunteersRepository(dbContext); }
public void SetUp() { _volunteerRepository = Substitute.For<IVolunteerRepository>(); _nonTechieVolunteerRepository = Substitute.For<INonTechVolunteerRepository>(); }
public VolunteerService(IVolunteerRepository volunteerRepository, IMapper mapper, IValidator <VolunteerCreateDTO> createValidator, IValidator <VolunteerUpdateDTO> updateValidator) : base(volunteerRepository, mapper, updateValidator, createValidator) { }
public VolunteerSpecifications(IOrganisationRepository organisationRepository, IVolunteerRepository volunteerRepository, IUpdatedEntityLogRepository updatedEntityLogRepository, IRefereeRepository refereeRepository) { _organisationRepository = organisationRepository; _volunteerRepository = volunteerRepository; _updatedEntityLogRepository = updatedEntityLogRepository; _refereeRepository = refereeRepository; }
public VolunteersController(IGroupRepository groupRepository, IVolunteerRepository volunteerRepository) { this.groupRepository = groupRepository; this.volunteerRepository = volunteerRepository; }
public TokenController(IConfiguration config, IVolunteerRepository volunteerRepository, IMemoryCache cache) : base(cache) { _config = config; _volunteerRepository = volunteerRepository; }
public MailingsAdminController(IVolunteerRepository volunteerRepository, INonTechVolunteerRepository nonTechVolunteerRepository) { _nonTechieVolunteerRepository = nonTechVolunteerRepository; _volunteerRepository = volunteerRepository; }
public VolunteerPhoneIsUniqueSpecifications(IVolunteerRepository volunteerRepository) { this._volunteerRepository = volunteerRepository; }
public HomeController(ILogger <HomeController> logger, IVolunteerRepository volunteerRepository, IOpportunityRepository opportunityRepository) { _logger = logger; _volunteerRepository = volunteerRepository; _opportunityRepository = opportunityRepository; }
public VolunteerController(IVolunteerRepository volunteers, IMapper mapper) { _volunteers = volunteers; _mapper = mapper; }
public VolunteeringController(IVolunteerRepository volunteerRepository) { this.volunteerRepository = volunteerRepository; }
public HomeController(IVolunteerRepository userRepository) { _userRepository = userRepository; }
public VolunteerController(IVolunteerRepository repo) { repository = repo; }
public SystemController(IVolunteerRepository volunteerRepository) { _volunteerRepository = volunteerRepository; }
public TestNotifierController() { _volunteerRepository = new VolunteerRepository(); }
public void SetUp() { _volunteerRepository = Substitute.For <IVolunteerRepository>(); _nonTechieVolunteerRepository = Substitute.For <INonTechVolunteerRepository>(); }
public VolunteerAdminController(IExperienceLevelRepository xpLevelRepository, IVolunteerRepository volunteerRepository) { _xpLevelRepository = xpLevelRepository; _volunteerRepository = volunteerRepository; }
public VolunteerController(AppDbContext context, IVolunteerRepository repo) { this.context = context; repository = repo; }
public VolunteerService(IVolunteerRepository volunteerRepository) { this.volunteerRepository = volunteerRepository; }
public VolunteerController(IVolunteerRepository volunteerRepository) { _volunteerRepository = volunteerRepository; }
public VolunteerService(IVolunteerRepository volunteerRepository, IVolunteerMatchingService volunteerMatchingService, IEmailSender emailSender) { _volunteerRepository = volunteerRepository; _volunteerMatchingService = volunteerMatchingService; _emailSender = emailSender; }