示例#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));
 }