public DT_r_DispMensualxMedico SI_DispMensualxMedico_os([System.Xml.Serialization.XmlElementAttribute(Namespace = "urn:clinicauandes.org:ish.pm:dispmensualxmedico")] DT_DispMensualxMedico MT_DispMensualxMedico) { object[] results = this.Invoke("SI_DispMensualxMedico_os", new object[] { MT_DispMensualxMedico }); return((DT_r_DispMensualxMedico)(results[0])); }
/// <remarks/> public void SI_DispMensualxMedico_osAsync(DT_DispMensualxMedico MT_DispMensualxMedico, object userState) { if ((this.SI_DispMensualxMedico_osOperationCompleted == null)) { this.SI_DispMensualxMedico_osOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSI_DispMensualxMedico_osOperationCompleted); } this.InvokeAsync("SI_DispMensualxMedico_os", new object[] { MT_DispMensualxMedico }, this.SI_DispMensualxMedico_osOperationCompleted, userState); }
public List <String> GetDisponibilidadMensual(String fecha, String VMA) { Config oConfig = new Config(); List <String> lst = new List <String>(); WsDispMensual.SI_DispMensualxMedico_osService serv = new WsDispMensual.SI_DispMensualxMedico_osService(); WsDispMensual.DT_DispMensualxMedico dt = new WsDispMensual.DT_DispMensualxMedico(); WsDispMensual.DT_r_DispMensualxMedico dtr = new WsDispMensual.DT_r_DispMensualxMedico(); WsDispMensual.DT_DispMensualxMedicoBuscaOfertaMedica dt_info = new WsDispMensual.DT_DispMensualxMedicoBuscaOfertaMedica(); dt_info.fecha = fecha; dt_info.idmed = VMA; serv.Credentials = new NetworkCredential(oConfig.User, oConfig.Pass); dt.BuscaOfertaMedica = dt_info; dtr = serv.SI_DispMensualxMedico_os(dt); for (int i = 0; i < dtr.BuscaOfertaMedica.Length; i++) { String dia = dtr.BuscaOfertaMedica[i].fecate; lst.Add(dia); } return(lst); }
/// <remarks/> public void SI_DispMensualxMedico_osAsync(DT_DispMensualxMedico MT_DispMensualxMedico) { this.SI_DispMensualxMedico_osAsync(MT_DispMensualxMedico, null); }