public JsonResult GetDemandAggregationDataOnJobRole(DemandAggregationSearchItems search)
        {
            bool isSuccess = true;
            IList <DemandAggregationOnJobRolesViewModel> data = new List <DemandAggregationOnJobRolesViewModel>();
            var user = HttpContext.Session.Get <UserViewModel>(Constants.SessionKeyUserInfo);

            user = user ?? new UserViewModel();
            try
            {
                data = dashboardHandler.GetDemandAggregationDataOnJobRole(user.UserId, search);
            }

            catch (DataNotUpdatedException ex)
            {
                Logger.Logger.WriteLog(Logger.Logtype.Error, ex.Message, user.UserId, typeof(DashboardController), ex);
                isSuccess = false;
            }
            return(new JsonResult(
                       new { isSuccess = isSuccess, data = data },
                       ContractSerializer.JsonInPascalCase()
                       ));
        }