Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public List <String> reservar(Reserva reserva)
        {
            List <String> lts = new List <String>();

            WsReserva.SI_ReservaCita_osService serv = new WsReserva.SI_ReservaCita_osService();
            WsReserva.DT_ReservaCita           dt   = new WsReserva.DT_ReservaCita();
            WsReserva.DT_r_ReservaCita         dtr  = new WsReserva.DT_r_ReservaCita();
            dt.apepatpac    = reserva.Apepatpac;
            dt.codorigen    = reserva.Codorigen;
            dt.especialidad = reserva.Especialidad;
            dt.fecreserva   = reserva.Fecreserva;
            dt.horareserva  = reserva.Horareserva;
            dt.mail         = reserva.Mail;
            dt.medico       = reserva.Medico;
            dt.nompac       = reserva.Nompac;
            dt.rutpac       = reserva.Rutpac;
            dt.rutsol       = reserva.Rutsol;
            dt.telefono     = reserva.Telefono;
            dt.utratamiento = reserva.Utratamiento;
            dtr             = serv.SI_ReservaCita_os(dt);
            lts.Add(dtr.codreserva);
            lts.Add(dtr.fechacita);
            lts.Add(dtr.horacita);
            return(lts);
        }
Пример #2
0
        public DT_r_ReservaCita SI_ReservaCita_os([System.Xml.Serialization.XmlElementAttribute(Namespace = "urn:clinicauandes.org:ish.pm:reservacita")] DT_ReservaCita MT_ReservaCita)
        {
            object[] results = this.Invoke("SI_ReservaCita_os", new object[] {
                MT_ReservaCita
            });

            return((DT_r_ReservaCita)(results[0]));
        }
Пример #3
0
 /// <remarks/>
 public void SI_ReservaCita_osAsync(DT_ReservaCita MT_ReservaCita, object userState)
 {
     if ((this.SI_ReservaCita_osOperationCompleted == null))
     {
         this.SI_ReservaCita_osOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_ReservaCita_osOperationCompleted);
     }
     this.InvokeAsync("SI_ReservaCita_os", new object[] {
         MT_ReservaCita
     }, this.SI_ReservaCita_osOperationCompleted, userState);
 }
Пример #4
0
 /// <remarks/>
 public void SI_ReservaCita_osAsync(DT_ReservaCita MT_ReservaCita)
 {
     this.SI_ReservaCita_osAsync(MT_ReservaCita, null);
 }