public void addUser(User user) { Users.Add(Amount, user); Amount++; Changed(); }
public void addUser(string login, string pass, string email, string accent = "Blue", string theme = "BaseLight", bool msg_not = true, bool pmsg_not = true, bool conn_not = true) { Users.Add(Amount, new User(login, pass, email, Amount, accent, theme, msg_not, pmsg_not, conn_not)); Amount++; Changed(); }
internal string InsertUserToTheDataBase(User i_NewUser) { Users.Add(i_NewUser); return("200"); }
public void AddUser(UserInfo ui) { Users.Add(ui); }
public void AddUser(User user) { Users.Add(user); SaveChanges(); log.Info($"Added user: {user.Username}|{user.Password}"); }