示例#1
0
 public IActionResult Create([FromBody] CreateContestModel model)
 {
     return(Ok(new { ContestId = _contestService.Create(model.Name, model.TournamentId, model.CompetitorIds) }));
 }