Esempio n. 1
0
        // GET: Emp
        //static List<EMPDATA> E = null;
        public ActionResult Index()
        {
            List <EMPDATA> E = DBOps.GetAll();

            return(View(E));
        }
Esempio n. 2
0
 public ActionResult Delete(int id)
 {
     ViewBag.msg = DBOps.DeleteEmp(id);
     return(View("index", DBOps.GetAll()));
 }
Esempio n. 3
0
 // GET: CheckBox
 public ActionResult Index()
 {
     ViewBag.L1 = DBOps.GetAll();
     return(View());
 }