public IHttpActionResult GetById(int id) { var game = this.data.Games.Find(id); if (game == null) { return NotFound(); } var gamesDetailModel = new GameDetailModel(game); return Ok(gamesDetailModel); }