Exemplo n.º 1
0
 public async Task <ActionResult> UpdateAthlete(Athlete athlete)
 {
     return(Ok(await _athleteRepository.UpdateAthlete(athlete)));
 }
Exemplo n.º 2
0
 public Athlete UpdateAthlete(Athlete athlete)
 {
     return(_athleteRepo.UpdateAthlete(athlete));
 }