public IActionResult Get(int id) { _logger.LogInformation("Getting result {ID}", id); var result = _operationService.GetResultById(id); if (result == null) { _logger.LogWarning("GetById({ID}) Not Found.", id); return(NotFound()); } return(Ok(result)); }