コード例 #1
0
 public async Task <ActionResult <ServiceResponse <HighscoreDto> > > GetHighscore()
 {
     return(Ok(await _fightService.GetHighscore()));
 }
コード例 #2
0
 public async Task <IActionResult> GetHighscore()
 {
     return(Ok(await _fightService.GetHighscore()));
 }
コード例 #3
0
 public async Task <IActionResult> GetHighscore() // default action method for GET verb
 {
     return(Ok(await _fightService.GetHighscore()));
 }