예제 #1
0
        private void CommandInvokedHandler(IUICommand command)
        {
            foreach (var lokaleBooking in AllLokaleBookings)
            {
                if (lokaleBooking.BookingId == MyBookingsList[SelectedBooking].BookingId)
                {
                    PersistencyService <LokaleBookinger> .DeleteObject(lokaleBooking.LBId, "LokaleBookinger");

                    PersistencyService <Bookinger> .DeleteObject(MyBookingsList[SelectedBooking].BookingId, "Bookinger");

                    GetAllBookingInfo();
                    GetMyBookings();
                    OnPropertyChanged(nameof(MyBookingsList));
                    break;
                }
            }
        }