public async Task <IActionResult> GetGame(int id) { var game = await _service.GetByIdAsync(id); return(game == null?NotFound($"Game with id = {id} not found!") as IActionResult : Ok(game)); }