Beispiel #1
0
        public void ShowMembers()
        {
            var memberController = new MemberController();

            var newForm = FormsFactory.CreateShowMemberListView();

            memberController.ViewMembers(newForm, this);
        }
Beispiel #2
0
        public void AddMember()
        {
            var memberController = new MemberController();

            var newForm = FormsFactory.CreateAddNewMemberView(memberController.GetMembershipTypes());

            memberController.AddNewMember(newForm, MemberRepository);
        }
Beispiel #3
0
        public void DeleteMember(int inId)
        {
            var memberController = new MemberController();

            memberController.DeleteMember(inId, MemberRepository);
        }
Beispiel #4
0
        public List <Member> GetAllMembers()
        {
            var memberController = new MemberController();

            return(memberController.GetAllMembers(MemberRepository));
        }