public IActionResult Get(int id)
        {
            EventRegistration existingReg = _eventRegRepo.Get(id);

            if (existingReg == null)
            {
                return(NotFound());
            }
            return(new JsonResult(existingReg));
        }
예제 #2
0
        public IActionResult Get(int id)
        {
            Club club = _clubRepo.Get(id);

            if (club == null)
            {
                return(NotFound());
            }
            return(new JsonResult(club));
        }
예제 #3
0
        public IActionResult Get(int id)
        {
            Athlete athlete = _athleteRepo.Get(id);

            if (athlete == null)
            {
                return(NotFound());
            }
            return(new JsonResult(athlete));
        }
예제 #4
0
        public IActionResult Get(int id)
        {
            User user = _userRepo.Get(id);

            if (user == null)
            {
                return(NotFound());
            }
            return(new JsonResult(user));
        }
예제 #5
0
        public IActionResult Get(int id)
        {
            Club_Athlete member = _clubMemberRepo.Get(id);

            if (member == null)
            {
                return(NotFound());
            }
            return(new JsonResult(member));
        }
예제 #6
0
        public IActionResult Get(int id)
        {
            Event evnt = _eventRepo.Get(id);

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

            return(new JsonResult(evnt));
        }