// GET: Emp //static List<EMPDATA> E = null; public ActionResult Index() { List <EMPDATA> E = DBOps.GetAll(); return(View(E)); }
public ActionResult Delete(int id) { ViewBag.msg = DBOps.DeleteEmp(id); return(View("index", DBOps.GetAll())); }
// GET: CheckBox public ActionResult Index() { ViewBag.L1 = DBOps.GetAll(); return(View()); }