public static List <ServicioHoteles.Destino> ListarDestinoXFiltro(string vcNomDestino)
        {
            ServicioHoteles.HotelesClient  cliente = new ServicioHoteles.HotelesClient();
            List <ServicioHoteles.Destino> Destino = new List <ServicioHoteles.Destino>(cliente.ListarDestinoXFiltro(vcNomDestino));

            return(Destino);
        }
示例#2
0
 public static string ListarHotelesXBusqueda()//string prvcCodCta, string prInCodSubCue)
 {
     ServicioHoteles.HotelesClient cliente = new ServicioHoteles.HotelesClient();
     try
     {
         List <ServicioHoteles.Hotel> hoteles = new List <ServicioHoteles.Hotel>(cliente.listarTodosHoteles());
         return("tu sis");
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
     finally
     {
     }
 }
示例#3
0
 public static List <ServicioHoteles.Hotel> ListarHotelesXBusqueda(string idDep, string idProv, string idDist, string vcFechaI, string vcFechaF)
 {
     ServicioHoteles.HotelesClient cliente = new ServicioHoteles.HotelesClient();
     try
     {
         List <ServicioHoteles.Hotel> ObjHotel = new List <ServicioHoteles.Hotel>(cliente.listarHotelesxHorarios(Convert.ToInt32(idDep), Convert.ToInt32(idProv), Convert.ToInt32(idDist), Convert.ToDateTime(vcFechaI), Convert.ToDateTime(vcFechaF)));
         return(ObjHotel);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
     finally
     {
     }
 }