예제 #1
0
 public IActionResult CreateProduct(Product product)
 {
     if (shopService.CreateProduct(product))
     {
         return(Ok());
     }
     else
     {
         return(StatusCode(500));
     }
 }