public void AddMember(Member member)
        {
            MembersFamiliesController mfc = new MembersFamiliesController();

            if (mfc.MemberFamilyExists(member, this))
            {
                return;
            }
            if (mfc.ShowMembersFamily(member) != null)
            {
                return;
            }
            mfc.Add(
                new Param("memberId", member.id),
                new Param("familyId", this.id)
                );
        }
Exemple #2
0
        public Family Family()
        {
            MembersFamiliesController mfc = new MembersFamiliesController();

            return(mfc.ShowMembersFamily(this));
        }
        public void DeleteMember(Member member)
        {
            MembersFamiliesController mfc = new MembersFamiliesController();

            mfc.Delete(member, this);
        }