public ActionResult Edit(decimal id)
        {
            ViewData["Department"] = CommonConstant.BindDepartment();
            ViewData["Status"]     = CommonConstant.BindStatus();
            Employee obj = Employee.Find(id);

            if (obj != null)
            {
                return(View(obj));
            }
            else
            {
                return(RedirectToAction("Index"));
            }
        }
 public ActionResult Create()
 {
     ViewData["Department"] = CommonConstant.BindDepartment();
     ViewData["Status"]     = CommonConstant.BindStatus();
     return(View());
 }