This commit is contained in:
@@ -465,8 +465,8 @@ namespace AyaNova.Biz
|
|||||||
ct.Locale.Add(l);
|
ct.Locale.Add(l);
|
||||||
ct.SaveChanges();
|
ct.SaveChanges();
|
||||||
|
|
||||||
//Log now that we have the Id
|
//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(1, l.Id, AyaType.Locale, AyaEvent.Created), ct);
|
EventLogProcessor.AddEntry(new Event(userId, l.Id, AyaType.Locale, AyaEvent.Created), ct);
|
||||||
ct.SaveChanges();
|
ct.SaveChanges();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -328,9 +328,6 @@ namespace AyaNova.Biz
|
|||||||
var mapItem = new ImportAyaNova7MapItem(OldV7Id, AyaType.Tag, o.Id);
|
var mapItem = new ImportAyaNova7MapItem(OldV7Id, AyaType.Tag, o.Id);
|
||||||
importMap.Add(mapItem);
|
importMap.Add(mapItem);
|
||||||
await ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, AyaType.Tag, ct);
|
await ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, AyaType.Tag, ct);
|
||||||
//Log
|
|
||||||
// EventLogProcessor.AddEntry(new Event(userId, o.Id, AyaType.Tag, AyaEvent.Created), ct);
|
|
||||||
// await ct.SaveChangesAsync();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user