Ejemplo n.º 1
0
 public ActionResult EditStock(Stocks fc)
 {
     if (ModelState.IsValid)
     {
         po.UpdateStocksIn(fc.Id, fc.get_price, fc.sell_price, fc.stockin, fc.current_stock);
         ModelState.Clear();
     }
     return(RedirectToAction("Index"));
 }