public UserClass(ContactInfoClass contactInfo) { ContactInfo = contactInfo; Login = ""; PasswordHash = ""; Id = -1; }
//ctor for backend public UserClass(int id, string login, string passwordHash, List <string> sessions, ContactInfoClass contactInfo = null) { Id = id; Login = login; PasswordHash = passwordHash; ContactInfo = contactInfo; }
public UserClass() { ContactInfo = new ContactInfoClass(); Id = -1; Login = ""; PasswordHash = ""; }
public UserClass(string login, string passwordHash, ContactInfoClass contactInfo = null) { Login = login; PasswordHash = passwordHash; ContactInfo = contactInfo; }