Exemplo n.º 1
0
 public ActionResult AddProduct(string WarehouseId, string ProductId, int Quantity)
 {
     if (_warehouseService.AddProduct(WarehouseId, ProductId, Quantity))
     {
         return(new HttpStatusCodeResult(System.Net.HttpStatusCode.OK));
     }
     return(new HttpStatusCodeResult(System.Net.HttpStatusCode.BadRequest));
 }