Beispiel #1
0
        private void Add(Album model)
        {
            var vm = new AlbumViewmodel(model);

            this.alphabetGrouped.Add(vm);
            this.albums.Add(vm);
        }
Beispiel #2
0
        private void Remove(Album model)
        {
            // We have identety over model!
            var vm = new AlbumViewmodel(model);

            this.alphabetGrouped.Remove(vm);
            this.albums.Remove(vm);
        }