Exemple #1
0
        [Test] // #12
        public void l()
        {      //@ Add a deparment and check if he existing
            ClubMember_Data cd = new ClubMember_Data();

            Backend.Club_Member c = new Club_Member("12", "a", "a", "Man", "12", "01.03.1988");
            cd.Add(c);
            Assert.IsTrue(cd.Contains("12"));
        }
Exemple #2
0
 //adds a club member
 public Boolean Add(Club_Member clubMember)
 {
     if (!exist(clubMember.ID))
     {
         itsDAL.Add(clubMember);
         return(true);
     }
     return(false);
 }