//delete public ActionResult Delete(int id) { if (Session["UserEmail"] != null) { hist.EliminarHistorial_Medida(id); return(RedirectToAction("Index")); } else { return(RedirectToAction("Login", "Login")); } }
//delete public ActionResult Delete(int id) { hist.EliminarHistorial_Medida(id); return(RedirectToAction("Index")); }