Пример #1
0
        public ActionResult AddEmployee(int EmpNo = 0)
        {
            GetEmployeeListData();
            // ViewBag.PCountryDD = Common.GetCountryMst();
            // ViewBag.PStateDD = Common.GetStateMst();
            // ViewBag.PCityDD = Common.GetCityMst();
            Employee obj = new Employee();

            if (EmpNo != 0)
            {
                obj = EmpCls.GetEmployee(EmpNo);
            }
            return(View(obj));
        }
Пример #2
0
 public ActionResult ManageEmployee()
 {
     return(View(EmpCls.GetEmployee()));
 }