//[Authorize(Roles = "Employee")]
        public ActionResult EducationalDetails(EmpEducationView EducationDetails, string EduLevelId = "0")
        {
            if (ModelState.IsValid)
            {
                string UserId = User.Identity.GetUserId();

                if (EducationDetails.EducationLevel == 0)
                {
                    EducationDetails.EducationLevel = Convert.ToInt16(EduLevelId);
                }

                bool result = ems.AddEmployeeEducationalDetails(UserId, EducationDetails.EducationLevel, EducationDetails.Degree, EducationDetails.Specialization, EducationDetails.University, EducationDetails.Institution, EducationDetails.YearOfPassing, EducationDetails.Percentage);
                return(RedirectToAction("EducationalDetails", "Employee", new { area = "EMS", status = result }));
            }

            PopulateEducationalLevel(EducationDetails.EducationLevel);
            PopulateYear(EducationDetails.YearOfPassing);
            return(View());
        }