예제 #1
0
 public ActionResult <IEnumerable <Match> > Post([FromBody] List <Match> matches)
 {
     try
     {
         return(Ok(_matchService.CreateMatches(matches)));
     }catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }