public ActionResult getEducationDetailBycollegeID(int collegeID, int?skip)
        {
            CollegeEducationViewModel collegeeducationviewmodel = new CollegeEducationViewModel();

            if (skip != null)
            {
                if (HCRGUser == null)
                {
                    var getCollegeEducation = _educationService.GetEducationCollegeByCollegeIDPaged(collegeID, 0, skip.Value, GlobalConst.Records.LandingTake, HCRGUser != null ? HCRGUser.OrganizationID : (Convert.ToInt32(_encryptionService.DecryptString2(System.Configuration.ConfigurationManager.AppSettings["OrganizationID"]))));
                    collegeeducationviewmodel.EducationDetailResults = Mapper.Map <IEnumerable <EducationDetail> >(getCollegeEducation.educationsDetail);
                    collegeeducationviewmodel.TotalCount             = getCollegeEducation.TotalCount;
                }
                else
                {
                    var getCollegeEducation = _educationService.GetEducationCollegeByCollegeIDPaged(collegeID, HCRGUser.UID, skip.Value, GlobalConst.Records.LandingTake, HCRGUser != null ? HCRGUser.OrganizationID : (Convert.ToInt32(_encryptionService.DecryptString2(System.Configuration.ConfigurationManager.AppSettings["OrganizationID"]))));
                    collegeeducationviewmodel.EducationDetailResults = Mapper.Map <IEnumerable <EducationDetail> >(getCollegeEducation.educationsDetail);
                    collegeeducationviewmodel.TotalCount             = getCollegeEducation.TotalCount;
                }
            }
            else
            {
                if (HCRGUser == null)
                {
                    var getCollegeEducation = _educationService.GetEducationCollegeByCollegeIDPaged(collegeID, 0, GlobalConst.Records.Skip, GlobalConst.Records.LandingTake, HCRGUser != null ? HCRGUser.OrganizationID : (Convert.ToInt32(_encryptionService.DecryptString2(System.Configuration.ConfigurationManager.AppSettings["OrganizationID"]))));
                    collegeeducationviewmodel.EducationDetailResults = Mapper.Map <IEnumerable <EducationDetail> >(getCollegeEducation.educationsDetail);
                    collegeeducationviewmodel.TotalCount             = getCollegeEducation.TotalCount;
                }
                else
                {
                    var getCollegeEducation = _educationService.GetEducationCollegeByCollegeIDPaged(collegeID, HCRGUser.UID, GlobalConst.Records.Skip, GlobalConst.Records.LandingTake, HCRGUser != null ? HCRGUser.OrganizationID : (Convert.ToInt32(_encryptionService.DecryptString2(System.Configuration.ConfigurationManager.AppSettings["OrganizationID"]))));
                    collegeeducationviewmodel.EducationDetailResults = Mapper.Map <IEnumerable <EducationDetail> >(getCollegeEducation.educationsDetail);
                    collegeeducationviewmodel.TotalCount             = getCollegeEducation.TotalCount;
                }
            }
            return(Json(collegeeducationviewmodel, GlobalConst.Message.text_html));
        }