Esempio n. 1
0
        // GET: Employee
        public ActionResult GetAllEmpDetails()
        {
            Emprepository Emprepo = new Emprepository();

            ModelState.Clear();

            return(View(Emprepo.GetAllEmployee()));
        }
Esempio n. 2
0
        public ActionResult EditEmployeeDetails(int id)
        {
            Emprepository Emprepo = new Emprepository();

            return(View(Emprepo.GetAllEmployee().Find(Emp => Emp.Empid == id)));
        }