public ActionResult EditarFamiliar(FamiliarVM f) { GestionFamiliar g = new GestionFamiliar(); g.EditarFamiliares(f.Familiar); return(RedirectToAction("ListarFamiliares", "Familiar" /*, new { c = pro.Alimento.Sucursal, pro = pro.Alimento.ProveedorC }*/)); }
public ActionResult AgregarFamiliar(FamiliarVM f) { GestionFamiliar g = new GestionFamiliar(); g.AgregarFamiliares(f.Familiar); return(RedirectToAction("ListarFamiliares")); }
public ActionResult EditarFamiliar(string c) { GestionFamiliar g = new GestionFamiliar(); FamiliarVM p = new FamiliarVM(); p.Familiar = g.BuscarFamiliares(c); return(View("EditarFamiliar", p)); }