예제 #1
0
        async Task ExecuteSearchCommand()
        {
            string c = (string)city.SelectedItem;

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