Ejemplo n.º 1
0
        public static void RemoveAppoiment(int appointmentId)
        {
            RemoveAppointmentReq req = new RemoveAppointmentReq();

            req.BusinessData.AppointmentId = appointmentId;

            if (frmBase_TabForm.IndentityUserInfo != null)
            {
                req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            }
            RemoveAppointmentRes res = req.ExecuteService <RemoveAppointmentReq, RemoveAppointmentRes>(req);


            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }
        }
Ejemplo n.º 2
0
        public static void RemoveAppoiment(int appointmentId)
        {
            RemoveAppointmentReq req = new RemoveAppointmentReq();

            req.BusinessData.AppointmentId = appointmentId;

            if (frmBase_TabForm.IndentityUserInfo != null)
                req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            RemoveAppointmentRes res = req.ExecuteService<RemoveAppointmentReq, RemoveAppointmentRes>(req);


            if (res.Error != null)
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);

           
        }