Revert "test Ref conversion"

This reverts commit 0d3bf47f73.
This commit is contained in:
2020-10-12 13:14:23 +02:00
parent 0d3bf47f73
commit 7039858d9e
26 changed files with 172 additions and 286 deletions
@@ -120,7 +120,7 @@ namespace zero.Debug.Controllers
{
hasChange = true;
zeroEntity.CreatedDate = zeroEntity.CreatedDate == default ? DateTimeOffset.Now : zeroEntity.CreatedDate;
zeroEntity.CreatedById = userId.Ref<IUser>();
zeroEntity.CreatedById = userId;
}
if (model is ITranslation && zeroEntity.Name.IsNullOrEmpty())
{
@@ -135,7 +135,7 @@ namespace zero.Debug.Controllers
if (zeroEntity.LastModifiedById == default)
{
hasChange = true;
zeroEntity.LastModifiedById = userId.Ref<IUser>();
zeroEntity.LastModifiedById = userId;
}
if (zeroEntity.LastModifiedDate == default)
{