public static void LogActivity(string userId, DateTime auditDateTime, ScreenActivityType screenActivityType, int screenId, string userComment, int BranchId, int departmentId) { var parameters = new object[] { userId, auditDateTime, screenActivityType, screenId, userComment, BranchId, departmentId }; DataConnection.EExecuteNonQuery("InsertLogDetail", parameters); }
/// <summary> /// Logs the activity. /// </summary> /// <param name="screenActivityType">Type of the screen activity.</param> /// <param name="dateTime">The date time.</param> /// <param name="userComment">The user comment.</param> protected void LogActivity(ScreenActivityType screenActivityType, DateTime dateTime, string userComment = "") { AuditLogger.LogActivity(SessionContext.UserId, dateTime, screenActivityType, SessionContext.NavigationId, userComment, SessionContext.BranchId, SessionContext.DeptId); }
protected void LogActivity(ScreenActivityType screenActivityType, DateTime dateTime, int mapId, int topLevelId, int lowerLevelId, string userComment = "") { AuditLogger.LogActivity(SessionContext.UserId, dateTime, screenActivityType, SessionContext.NavigationId, userComment, topLevelId, lowerLevelId); }
protected void LogActivity(ScreenActivityType screenActivityType, string userComment = "") { LogActivity(screenActivityType, DateTime.Now, userComment); }