コード例 #1
0
        public void Write()
        {
            MembershipData data = new MembershipData();
            ObservableCollection <Member> tempM = data.GetMemberships();

            if (tempM != null)
            {
                foreach (Member m in tempM)
                {
                    members.Add(m);
                }
            }
        }
コード例 #2
0
        public void Save()
        {
            MembershipData data = new MembershipData();

            data.SaveMemberships(members);
        }