예제 #1
0
 public ActionResult <IEnumerable <Player> > GetPlayers(int id)
 {
     try
     {
         return(Ok(_ts.GetPlayers(id)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }