public void Write() { MembershipData data = new MembershipData(); ObservableCollection <Member> tempM = data.GetMemberships(); if (tempM != null) { foreach (Member m in tempM) { members.Add(m); } } }
public void Save() { MembershipData data = new MembershipData(); data.SaveMemberships(members); }