public async Task <IActionResult> GetAsync() { // IEnumerable<CandidateResponse> candidates = await _candidateService.GetAllAsync(); // IEnumerable<CandidateResponse> response = candidates.Select(CandidateFactory.GetCandidateResponse); var response = MockFactory.GetCandidates(); return(Ok(response)); }