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); }
public void AddressInfoCheck(AddressInfo addressInfo) { var episode = DbMethods.GetEpisodeFromDbById(addressInfo.Episode.Id); episode.AddressInfo = addressInfo; DbMethods.UpdateDbCollection(episode); AddressInfoList = new BindableCollection <AddressInfo>(SelectedEpisode.AddressInfoList); }