예제 #1
0
 public IActionResult GetById([FromQuery] int id)
 {
     if (id > 0)
     {
         return(Ok(_clubLogic.GetById(id)));
     }
     else
     {
         return(StatusCode(404));
     }
 }