Exemple #1
0
 public void Remove(User usersToBeRemoved)
 {
     Users.Remove(usersToBeRemoved);
     PersistencyServiceUser.SaveEventsAsJsonAsync(Users);
 }
Exemple #2
0
 public void Add(string userName, string passWord, string firstName, string lastName, string phonenumber)
 {
     Users.Add(new User(userName, passWord, firstName, lastName, phonenumber));
     PersistencyServiceUser.SaveEventsAsJsonAsync(Users);
 }