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); }
async Task ExecuteSearchById() { hotel = await CosmosHotelService.GetHotelById(ID); }
async Task ExecuteUpdateQuantity() { await CosmosHotelService.UpdateHotelInQuantity(ID, type, "-"); }