public LogInOutEvent(UserAccount account, String ipAddress, ActionType type) { this.UserAccount = account; this.IpAddress = ipAddress; this.GeneratedOn = DateTime.Now; this.Type = type; }