Beispiel #1
0
 public void deleteUserAccount(UserAccount account)
 {
     userAccounts.Remove(account);
     amfw.WriteAccountsToFile(userAccounts.ToList());
 }
Beispiel #2
0
 public UserAccount getUserAccount(UserAccount account)
 {
     return(userAccounts.First(x => x.Domain == account.Domain && x.UserName == account.UserName && x.Password == account.Password));
 }