//removes a user public Boolean Remove(Backend.User user) { if (exist(user)) { return(itsDAL.Remove(user)); } return(false); }
[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)); }