Exemple #1
0
 public IHttpActionResult AddOrUpdateProductQuantity(ProductQuantityModel request)
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     request.CreatedBy = userId;
     return(Ok(_product.AddOrUpdateProductQuantity(request)));
 }