コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: Controller.cs プロジェクト: spzenk/sfdocsamples
        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;
        }