Exemplo n.º 1
0
        public void DeleteEventForever(Event def)
        {
            Events.Remove(def);
            SlettetEvents.Remove(def);

            PersistencyService.SaveEventsAsJsonAsync(Events);
            PersistencyServiceDeletet.SaveEventsAsJsonAsync(SlettetEvents);
        }
Exemplo n.º 2
0
        public void RemoveSlettetEvents(Event le)
        {
            Events.Add(le);
            SlettetEvents.Remove(le);

            PersistencyService.SaveEventsAsJsonAsync(Events);
            PersistencyServiceDeletet.SaveEventsAsJsonAsync(SlettetEvents);
        }