public async Task <IActionResult> GetResult(int id) { var result = await _repo.GetResult(id); var resultToReturn = _mapper.Map <ResultsForDetailedDto>(result); return(Ok(resultToReturn)); }
public async Task <IActionResult> GetResult(int id) { var result = await _repo.GetResult(id); var resultToReturn = _mapper.Map <ResultsForDetailedDto>(result); return(Ok(resultToReturn)); }