예제 #1
0
 //removes a user
 public Boolean Remove(Backend.User user)
 {
     if (exist(user))
     {
         return(itsDAL.Remove(user));
     }
     return(false);
 }
예제 #2
0
        [Test] // #20
        public void t()
        {      //@ check delete user
            User_Data ud = new User_Data();

            Backend.User u = new Backend.User("a", "a", "112233");
            ud.Remove(u);
            Assert.IsTrue(!ud.Contains(u));
        }