This commit is contained in:
2018-08-29 17:17:38 +00:00
parent 5a421e401e
commit 1e1382ad04
4 changed files with 11 additions and 6 deletions

View File

@@ -449,7 +449,10 @@ 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);
ct.SaveChanges();
}
break;

View File

@@ -254,6 +254,9 @@ namespace AyaNova.Biz
{
await ct.SaveChangesAsync();
var mapItem = new ImportAyaNova7MapItem(oldId, AyaType.Tag, o.Id);
//Log
EventLogProcessor.AddEntry(new Event(userId, o.Id, AyaType.Tag, AyaEvent.Created), ct);
await ct.SaveChangesAsync();
}
}
@@ -269,6 +272,6 @@ namespace AyaNova.Biz
}//eoc
//
//
}//eons