// If you are using Dependency Injection, you can delete the following constructor public RecruitController() { var context = new VITVContext(); _recruitRepository = new RecruitRepository(context); _recruitCategoryRepository = new RecruitCategoryRepository(context); _cityRepository = new CityRepository(context); }
public ApplicantService(IMapper mapper, IRecruitRepository recruitRepository, IESIEndpointRepository esiRepository, IAccountStatusHelper accountStatusHelper, IMailService mailService) { _mapper = mapper; _recruitRepository = recruitRepository; _esiRepository = esiRepository; _accountStatusHelper = accountStatusHelper; _mailService = mailService; }
public AuthorisedCorporationResolver(IRecruitRepository recruitRepository) { _recruitRepository = recruitRepository; }
public AuthenticationService(IESIEndpointRepository esiRepository, IRecruitRepository recruitRepository) { _esiRepository = esiRepository; _recruitRepository = recruitRepository; }
public MailService(IMapper mapper, IRecruitRepository recruitRepository, IESIEndpointRepository esiRepository) { _mapper = mapper; _recruitRepository = recruitRepository; _esiRepository = esiRepository; }
public AuthoriseCorporationController(IRecruitRepository recruitRepository) { _recruitRepository = recruitRepository; }
public RecruitController(IRecruitRepository recruitRepository, IRecruitCategoryRepository recruitCategoryRepository, ICityRepository cityRepository) { _recruitRepository = recruitRepository; _recruitCategoryRepository = recruitCategoryRepository; _cityRepository = cityRepository; }