public async void DeleteRooms() { object result = await DialogHost.Show(new DeleteMessageBox(), "RootDialog"); if (result.Equals(true)) { Hospital.DeleteRoom(RoomID); Home.ViewModel.Content = new RoomsViewModel(); HospitalDB.DeleteRoom(RoomID); } }