//private readonly ITestService _testService; public AnswerService(IAnswerRepository answerRepository, ICandidatRepositories candidatRepositories, ITestRepository testRepository, IPositionRepository positionRepository) { _answerRepository = answerRepository; _candidatRepositories = candidatRepositories; _testRepository = testRepository; _positionRepository = positionRepository; }
// private readonly ITestService _testService; public CandidatService(IPositionRepository positionRepository, ICandidatRepositories candidatRepositories, IAnswerService answerService, ITestRepository testRepository) { this._positionRepository = positionRepository; this._candidatRepositories = candidatRepositories; this._testRepository = testRepository; // _testService = testService; _answerService = answerService; }