public PartialViewResult JobSeekersData(int MaxExp)
        {
            IEnumerable <UserViewModel> list = null;

            try
            {
                //jobTitle = _homeHandler.GetJobTitleById(JobIndustryAreaId);
                list = dashboardHandler.GetJobSeekers(MaxExp);
            }
            catch (DataNotFound ex)
            {
                Logger.Logger.WriteLog(Logger.Logtype.Error, ex.Message, 0, typeof(DashboardController), ex);
                ModelState.AddModelError("ErrorMessage", string.Format("{0}", ex.Message));
            }
            return(PartialView("NotificationJobSeekersPartial", list));
        }
        public PartialViewResult GetJobSeekers()
        {
            IEnumerable <Model.DataViewModel.Employer.Dashboard.JobSeekerViewModel> employees = null;
            var user = HttpContext.Session.Get <UserViewModel>(Constants.SessionKeyUserInfo);

            user = user ?? new UserViewModel();
            try
            {
                employees = dashboardHandler.GetJobSeekers(user.UserId);
            }
            catch (DataNotFound ex)
            {
                Logger.Logger.WriteLog(Logger.Logtype.Error, ex.Message, user.UserId, typeof(DashboardController), ex);
                employees = new List <Model.DataViewModel.Employer.Dashboard.JobSeekerViewModel>();
            }
            return(PartialView("JobsSeekersWithJobTitlePartial", employees));
        }