public IActionResult GetItems([FromRoute] int gameId) { try { var items = repo.GetItemsForGame(gameId); return(StatusCode(200, response.AllItemsResponse(items))); } catch (Exception) { return(StatusCode(500, ErrorResponse.ServerError)); } }