예제 #1
0
        public ActionResult <Athlete> GetAthlete(Int32 id)
        {
            var athlete = athleteService.FindById(id);

            if (athlete == null)
            {
                return(NotFound());
            }
            return(athlete);
        }