private void Cancel()
        {
            EditableObject.CancelEdit();
            DataServiceTour dsTour = new DataServiceTour();

            dsTour.RefreshTour(this.Tour);
        }
        public void CancelPhoto()
        {
            if (Mode == ViewModels.Mode.add)
            {
                Picture.Trip.Pictures.Remove(Picture);
                Picture.Trip = null;
            }

            EditableObject.CancelEdit();
        }
        public void CancelNote()
        {
            if (Mode == ViewModels.Mode.add)
            {
                Note.Trip.Notes.Remove(Note);
                Note.Trip = null;
            }

            EditableObject.CancelEdit();
        }
        public void CancelPOI()
        {
            Messenger.Default.Send <int, ListPOIViewModel>(PointOfInterest.Trip.Id);
            Messenger.Default.Send <int, TripViewModel>(PointOfInterest.Trip.Id);

            if (Mode == ViewModels.Mode.add || Mode == ViewModels.Mode.addFromExisting)
            {
                PointOfInterest.Trip.PointsOfInterests.Remove(PointOfInterest);
                PointOfInterest.Trip = null;
            }

            EditableObject.CancelEdit();
        }
 public void Cancel()
 {
     EditableObject.CancelEdit();
 }