/// <summary> /// Constructor that requires the security DAO /// </summary> /// <param name="db">Interface for the user security dao</param> public UserManager(IUserSecurityDAO db, UserItem user) { _db = db; Permission = new Authorization(user); }
/// <summary> /// Logs the current user out of the vending machine system /// </summary> public void LogoutUser() { Permission = new Authorization(null); }