Пример #1
0
        public static PlanVacunacion_FullViewList Patient_GetPlanVacunacion(int idPatient)
        {
            GetPlanVacunacionReq req = new GetPlanVacunacionReq();

            req.BusinessData.IdPatient = idPatient;

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


            GetPlanVacunacionRes res = req.ExecuteService <GetPlanVacunacionReq, GetPlanVacunacionRes>(req);

            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }
            return(res.BusinessData);
        }
Пример #2
0
        public static PlanVacunacion_FullViewList Patient_GetPlanVacunacion(int idPatient)
        {
            GetPlanVacunacionReq req = new GetPlanVacunacionReq();
            req.BusinessData.IdPatient = idPatient;

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


            GetPlanVacunacionRes res = req.ExecuteService<GetPlanVacunacionReq, GetPlanVacunacionRes>(req);
            if (res.Error != null)
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            return res.BusinessData;
        }