예제 #1
0
 public IActionResult DeleteGame([FromRoute] int gameId)
 {
     try
     {
         repo.DeleteGame(gameId);
         return(StatusCode(201, responses.DeletGameResponse()));
     }
     catch (Exception)
     {
         return(StatusCode(500, ErrorResponse.ServerError));
     }
 }