Beispiel #1
0
        /// <summary>
        /// Log user activity
        /// </summary>
        /// <param name="logType">User log activity</param>
        /// <param name="currentUserId">User ID</param>
        private void LogUserActivity(UserLogType logType, int currentUserId)
        {
            var userActivityLogItem = new LogUserActivityItem()
            {
                UserActivity = logType,
                UserId       = currentUserId
            };

            ((LogUserModule)moduleManager.GetModule(typeof(LogUserModule))).LogUserActivity(userActivityLogItem);
        }
Beispiel #2
0
 /// <summary>
 /// Log user activity
 /// </summary>
 /// <param name="logitem">User log item</param>
 public void LogUserActivity(LogUserActivityItem logitem)
 {
     itemManager.AddItem(logitem, moduleManager);
 }