Beispiel #1
0
        public ActionResult Delete(int id)
        {
            EmployeeDetailBLL objEmployeeBLL = new EmployeeDetailBLL();
            var employeeInfo = objEmployeeBLL.GetEmployeeInfo(id);

            ViewBag.DesignationInfo = objEmployeeBLL.GetDesignationName();
            return(View(employeeInfo));
        }
Beispiel #2
0
        public ActionResult Save()
        {
            EmployeeDetailBLL objEmployeeBLL = new EmployeeDetailBLL();
            var model = new EmployeeDetail
            {
                DesignationInfo = objEmployeeBLL.GetDesignationName()
            };

            return(View(model));
        }