This commit is contained in:
@@ -465,8 +465,8 @@ namespace AyaNova.Biz
|
||||
ct.Locale.Add(l);
|
||||
ct.SaveChanges();
|
||||
|
||||
//Log now that we have the Id
|
||||
EventLogProcessor.AddEntry(new Event(1, l.Id, AyaType.Locale, AyaEvent.Created), ct);
|
||||
//Log now that we have the Id, note that there is no source created / modified for this so just attributing to current userId
|
||||
EventLogProcessor.AddEntry(new Event(userId, l.Id, AyaType.Locale, AyaEvent.Created), ct);
|
||||
ct.SaveChanges();
|
||||
|
||||
}
|
||||
|
||||
@@ -327,10 +327,7 @@ namespace AyaNova.Biz
|
||||
await ct.SaveChangesAsync();
|
||||
var mapItem = new ImportAyaNova7MapItem(OldV7Id, AyaType.Tag, o.Id);
|
||||
importMap.Add(mapItem);
|
||||
await ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, AyaType.Tag, ct);
|
||||
//Log
|
||||
// EventLogProcessor.AddEntry(new Event(userId, o.Id, AyaType.Tag, AyaEvent.Created), ct);
|
||||
// await ct.SaveChangesAsync();
|
||||
await ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, AyaType.Tag, ct);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user