public ActionResult Add(Accreditor accreditor)
 {
     if (accreditor.AccreditorID == 0)
     {
         accreditor.IsActive         = true;
         accreditor.OrganizationID   = HCRGCLIENT.OrganizationID;
         accreditor.OrganizationName = (_clientService.GetOrganizationByID(HCRGCLIENT.OrganizationID)).OrganizationName;
         accreditor.AccreditorID     = _educationService.AddAccreditor(Mapper.Map <HCRGUniversityMgtApp.NEPService.EducationService.Accreditor>(accreditor));
         accreditor.flag             = true;
     }
     else
     {
         int accreditorId = _educationService.UpdateAccreditor(Mapper.Map <HCRGUniversityMgtApp.NEPService.EducationService.Accreditor>(accreditor));
         accreditor.flag = false;
     }
     return(Json(accreditor, GlobalConst.Message.text_html));
 }