public async Task <IActionResult> GetQualifyingResult(int id) { try { var result = await service.GetQualifyingResult(id); if (result != null) { return(Ok(result)); } else { return(NotFound()); } } catch (Exception ex) { logger.LogError(ex); throw ex; } }