예제 #1
0
 public async Task <ActionResult> UpdateAthlete(Athlete athlete)
 {
     return(Ok(await _athleteRepository.UpdateAthlete(athlete)));
 }
예제 #2
0
 public Athlete UpdateAthlete(Athlete athlete)
 {
     return(_athleteRepo.UpdateAthlete(athlete));
 }