Ejemplo n.º 1
0
 public async Task <ActionResult <ServiceResponse <HighscoreDto> > > GetHighscore()
 {
     return(Ok(await _fightService.GetHighscore()));
 }
Ejemplo n.º 2
0
 public async Task <IActionResult> GetHighscore()
 {
     return(Ok(await _fightService.GetHighscore()));
 }
Ejemplo n.º 3
0
 public async Task <IActionResult> GetHighscore() // default action method for GET verb
 {
     return(Ok(await _fightService.GetHighscore()));
 }