예제 #1
0
        private async void DeleteBookingButton_Click(object sender, RoutedEventArgs e)
        {
            var select = MyBookingsGridGrid.SelectedItems;

            foreach (Booking booking in select)
            {
                bookingViewModel.RemoveBooking(booking);
                await apiServices.DeleteBookingAsync(booking);
            }
        }