async Task ExecuteSearchCommand()
        {
            string c = (string)city.SelectedItem;

            if (c != null)
            {
                hotellist = await CosmosHotelService.SearchHotel(c);
            }
            else
            {
                return;
            }
        }
 async Task ExecuteSearchCommand(string _id)
 {
     hotel = await CosmosHotelService.GetHotelById(_id);
 }
Exemple #3
0
 async Task ExecuteSearchById()
 {
     hotel = await CosmosHotelService.GetHotelById(ID);
 }
Exemple #4
0
 async Task ExecuteUpdateQuantity()
 {
     await CosmosHotelService.UpdateHotelInQuantity(ID, type, "-");
 }