public ActionResult IndexE() { MedicineDB dbhandle = new MedicineDB(); ModelState.Clear(); return(View(dbhandle.GetLogins())); }
public ActionResult Edit(int id) { MedicineDB db = new MedicineDB(); return(View(db.GetLogins().Find(smodel => smodel.DrugID == id))); }