public static Hotel Buscar(string nombre) { Hotel hotel = PersistenciaHotel.Buscar(nombre); if (hotel == null) { throw new Exception("Nombre de hotel no registrado"); } return(hotel); }
public static Hotel Buscar(string nombre) { return(PersistenciaHotel.Buscar(nombre)); }