public ActionResult Edit(LoteIngresoViewModels datos) { DBLote dblote = new DBLote(); Lote lote = new Lote(dblote); lote.Update(datos); return(RedirectToAction("Index", "Lote")); }
private void EstadoLote() { Lote loteLogic = new Lote(new DBLote()); var lt = lote; lt.estado_id = 2; loteLogic.Update(lt); }