This commit is contained in:
@@ -59,8 +59,10 @@ namespace AyaNova.Biz
|
||||
return null;
|
||||
else
|
||||
{
|
||||
//do stuff with object
|
||||
//
|
||||
FormCustom outObj = inObj;
|
||||
|
||||
outObj.Template=JsonUtil.CompactJson(outObj.Template);
|
||||
|
||||
await ct.FormCustom.AddAsync(outObj);
|
||||
await ct.SaveChangesAsync();
|
||||
@@ -113,6 +115,8 @@ namespace AyaNova.Biz
|
||||
if (HasErrors)
|
||||
return false;
|
||||
|
||||
dbObj.Template=JsonUtil.CompactJson(dbObj.Template);
|
||||
|
||||
//Log modification
|
||||
EventLogProcessor.LogEventToDatabase(new Event(UserId, dbObj.Id, BizType, AyaEvent.Modified), ct);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user