internal UserSession(User loggingUser) { _sessionObject = SessionObjectFactory.GetSessionObject(loggingUser); }
public static UserSession Login(string username, string password) { var sessionObject = SessionObjectFactory.GetSessionObject(username, password); return(new UserSession(sessionObject)); }
public UserSession() { _sessionObject = SessionObjectFactory.GetSessionObject(); }