Exemplo n.º 1
0
        public static void AddChanges(RockContext rockContext, Type modelType, Guid categoryGuid, int entityId, List <string> changes, string caption, Type relatedModelType, int?relatedEntityId, int?modifiedByPersonAliasId = null)
        {
            var historyChanges = new History.HistoryChangeList();

            historyChanges.AddRange(changes.Select(a => new History.HistoryChange(a)).ToList());

            AddChanges(rockContext, modelType, categoryGuid, entityId, historyChanges, caption, relatedModelType, relatedEntityId, modifiedByPersonAliasId);
        }