public bool Remove(string name, string dateofbirth) { if (FindUser(name, dateofbirth) != null) { Users.Remove(FindUser(name, dateofbirth)); return(true); } return(false); }
public bool Remove(int id) { if (FindUser(id) != null) { Users.Remove(FindUser(id)); return(true); } return(false); }