Ejemplo n.º 1
0
        //Creates list of staff as given in the task outline
        //Input: None
        //Output: MemberCollection staff (user: staff, pass: today123)
        static MemberCollection StaffList()
        {
            MemberCollection staffList = new MemberCollection();

            staffList.Add(new Member("staff", "", "", "", "today123", new MovieCollection()));
            return(staffList);
        }
Ejemplo n.º 2
0
        //Collection of dummy Member() data for tesing purposes
        static MemberCollection DummyMembers()
        {
            MemberCollection dummyMembers = new MemberCollection();

            dummyMembers.Add(new Member(
                                 "John",
                                 "Doe",
                                 "2 Kensington Terrace, 4066",
                                 "0450732987",
                                 "pass1",
                                 new MovieCollection()
                                 ));

            dummyMembers.Add(new Member(
                                 "John",
                                 "Smith",
                                 "2 Kensington Street, 4067",
                                 "0418781464",
                                 "pass2",
                                 new MovieCollection()
                                 ));
            dummyMembers.Add(new Member(
                                 "Jane",
                                 "Doe",
                                 "2 Kensington Place, 4068",
                                 "0437723235",
                                 "pass3",
                                 new MovieCollection()
                                 ));
            dummyMembers.Add(new Member(
                                 "Jane",
                                 "Smith",
                                 "2 Kensington Grove, 4069",
                                 "0456789101",
                                 "pass4",
                                 new MovieCollection()
                                 ));
            return(dummyMembers);
        }