This commit is contained in:
@@ -32,7 +32,7 @@ namespace AyaNova.Biz
|
||||
return new FormCustomBiz(ct, 1, ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID, AuthorizationRoles.BizAdminFull);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//EXISTS
|
||||
@@ -65,7 +65,7 @@ namespace AyaNova.Biz
|
||||
//EVENT LOG
|
||||
await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, outObj.Id, BizType, AyaEvent.Created), ct);
|
||||
|
||||
|
||||
|
||||
return outObj;
|
||||
|
||||
}
|
||||
@@ -118,6 +118,8 @@ namespace AyaNova.Biz
|
||||
internal async Task<bool> PutAsync(FormCustom dbObject, FormCustom inObj)
|
||||
{
|
||||
|
||||
//todo: replace with new put methodology
|
||||
|
||||
//Replace the db object with the PUT object
|
||||
CopyObject.Copy(inObj, dbObject, "Id");
|
||||
//Set "original" value of concurrency token to input token
|
||||
@@ -134,7 +136,7 @@ namespace AyaNova.Biz
|
||||
//Log modification and save context
|
||||
await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, dbObject.Id, BizType, AyaEvent.Modified), ct);
|
||||
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user