public async Task <ActionResult> UpdateAthlete(Athlete athlete) { return(Ok(await _athleteRepository.UpdateAthlete(athlete))); }
public Athlete UpdateAthlete(Athlete athlete) { return(_athleteRepo.UpdateAthlete(athlete)); }
public async Task <ActionResult> UpdateAthlete(Athlete athlete) { return(Ok(await _athleteRepository.UpdateAthlete(athlete))); }
public Athlete UpdateAthlete(Athlete athlete) { return(_athleteRepo.UpdateAthlete(athlete)); }