public ActionResult Create(LoteIngresoViewModels datos) { ViewBag.Title = "Ingresar Lote"; DBLote dbLote = new DBLote(); Lote lote = new Lote(dbLote); lote.Save(datos); return(RedirectToAction("Index", "Lote")); }
public ActionResult Create(LoteIngresoViewModels datos) { ViewBag.Title = "Ingresar Lote"; DBLote dbLote = new DBLote(); Lote lote = new Lote(dbLote); lote.Save(datos); return(RedirectToAction("Index", "Lote")); }