public ActionResult GetAllPagedAccreditor()
        {
            PagedAccreditor pagedAccreditor = new PagedAccreditor();

            pagedAccreditor.AccreditorRecords = Mapper.Map <IEnumerable <Accreditor> >(_educationService.GetAllAccreditorsByOrganizationID(HCRGCLIENT.ClientID, HCRGCLIENT.OrganizationID));
            return(Json(pagedAccreditor));
        }
        public ActionResult Index()
        {
            int _organizationID = 0;

            if (HCRGCLIENT.ClientTypeID == 1)
            {
                _organizationID = 0;
            }
            else
            {
                _organizationID = HCRGCLIENT.OrganizationID;
            }
            PagedAccreditor pagedAccreditor = new PagedAccreditor();

            if (HCRGCLIENT.ClientTypeID == 1)
            {
                pagedAccreditor.IsHCRGAdmin = true;
            }
            else
            {
                pagedAccreditor.IsHCRGAdmin = false;
            }
            pagedAccreditor.AccreditorRecords = Mapper.Map <IEnumerable <Accreditor> >(_educationService.GetAllAccreditorsByOrganizationID(HCRGCLIENT.ClientID, _organizationID));
            return(View(pagedAccreditor));
        }