public static MutualList RetriveAllObraSocial() { RetriveAllObraSocialReq req = new RetriveAllObraSocialReq(); req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); req.ContextInformation.AppId = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString(); RetriveAllObraSocialRes res = req.ExecuteService <RetriveAllObraSocialReq, RetriveAllObraSocialRes>(req); if (res.Error != null) { throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); } return(res.BusinessData.ObraSocialList); }
public static MutualList RetriveAllObraSocial() { RetriveAllObraSocialReq req = new RetriveAllObraSocialReq(); req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); req.ContextInformation.AppId = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString(); RetriveAllObraSocialRes res = req.ExecuteService<RetriveAllObraSocialReq, RetriveAllObraSocialRes>(req); if (res.Error != null) throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); return res.BusinessData.ObraSocialList; }