public ActionResult AddNew()
        {
            CreateEmployeeViewModel createEmpVeiwModel = new CreateEmployeeViewModel();
            //            createEmpVeiwModel.FooterData = new FooterViewModel();
            //            createEmpVeiwModel.FooterData.CompnayName = "Asif";
            //            createEmpVeiwModel.FooterData.Year = DateTime.Now.Year.ToString();
            //            createEmpVeiwModel.UserName = User.Identity.Name;

            return View("CreateEmployee", createEmpVeiwModel);
        }
        public ActionResult SaveEmployee(Employee e, string BtnSubmit)
        {
            switch (BtnSubmit)
            {
                case "Save Employee":
                    if (ModelState.IsValid)
                    {
                        //return Content(e.FirstName + " " + e.LastName + "<br /> Salary: " + e.Salary);
                        EmployeeBusinessLayer empBL = new EmployeeBusinessLayer();
                        empBL.SaveEmployee(e);

                        return RedirectToAction("Index");
                    }

                    else
                    {
                        CreateEmployeeViewModel vm = new CreateEmployeeViewModel();

                        vm.FirstName = e.FirstName;
                        vm.LastName = e.LastName;

                        if (e.Salary.HasValue)
                        {
                            vm.Salary = e.Salary.ToString();
                        }
                        else
                        {
                            vm.Salary = ModelState["Salary"].Value.AttemptedValue;
                        }

                        //Add Hear & Footer
            //                        vm.FooterData = new FooterViewModel();
            //                        vm.FooterData.CompnayName = "Asif";
            //                        vm.FooterData.Year = DateTime.Now.Year.ToString();
            //                        vm.UserName = User.Identity.Name;
                        return View("CreateEmployee", vm);
                    }

                case "Cancel":
                    return RedirectToAction("Index");
            }

            return new EmptyResult();
        }