コード例 #1
0
        public static void Patient_UpdatePlanVacunacion(PlanVacunacion_FullViewList plan)
        {
            UpdatePlanVacunacionReq req = new UpdatePlanVacunacionReq();

            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.BusinessData = plan;

            UpdatePlanVacunacionRes res = req.ExecuteService <UpdatePlanVacunacionReq, UpdatePlanVacunacionRes>(req);

            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }
        }
コード例 #2
0
ファイル: Controller.cs プロジェクト: spzenk/sfdocsamples
        public static void Patient_UpdatePlanVacunacion(PlanVacunacion_FullViewList plan)
        {
            UpdatePlanVacunacionReq req = new UpdatePlanVacunacionReq();
            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.BusinessData = plan;

            UpdatePlanVacunacionRes res = req.ExecuteService<UpdatePlanVacunacionReq, UpdatePlanVacunacionRes>(req);
            if (res.Error != null)
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);

        }