コード例 #1
0
        public IActionResult Get(string id)
        {
            Race race = raceRepo.Find(id);

            if (race == null)
            {
                return(new NotFoundResult());
            }

            return(new ObjectResult(race));
        }