public ActionResult Edit(SampleModel drug) { SampleRepository r = new SampleRepository(); r.Edit(drug); return(RedirectToAction("List")); }
public ActionResult Edit(SampleModel drug) { SampleRepository r = new SampleRepository(); r.Edit(drug); return(RedirectToAction("List")); }