Example #1
0
        public void AddressInfoUncheck(AddressInfo addressInfo)
        {
            var episode = DbMethods.GetEpisodeFromDbById(addressInfo.Episode.Id);

            episode.AddressInfo = AddressInfoList.FirstOrDefault(a => a.Id != addressInfo.Id);
            DbMethods.UpdateDbCollection(episode);
            AddressInfoList = new BindableCollection <AddressInfo>(SelectedEpisode.AddressInfoList);
        }
Example #2
0
        public void AddressInfoCheck(AddressInfo addressInfo)
        {
            var episode = DbMethods.GetEpisodeFromDbById(addressInfo.Episode.Id);

            episode.AddressInfo = addressInfo;
            DbMethods.UpdateDbCollection(episode);
            AddressInfoList = new BindableCollection <AddressInfo>(SelectedEpisode.AddressInfoList);
        }