public ActionResult <OrderDto> CreateOrder(int productId) { var result = productsService.CreateOrder(productId); if (!result) { return(NotFound()); } else { return(NoContent()); } }
public ActionResult <OrderDto> CreateOrder(int productId) { var result = productsService.CreateOrder(productId); if (!result) { return(NotFound()); } else { return(NoContent()); } }