示例#1
0
 public async Task <ActionResult <int> > CreateLeague([FromBody] League league)
 {
     return(await _leagueRepo.CreateLeague(league.Name));
 }