diff --git a/src/Api.Crud.Client/Api.Crud.Client.csproj b/src/Api.Crud.Client/Api.Crud.Client.csproj index 105703f..251ab09 100644 --- a/src/Api.Crud.Client/Api.Crud.Client.csproj +++ b/src/Api.Crud.Client/Api.Crud.Client.csproj @@ -7,9 +7,9 @@ eQuantic.Core.Api.Crud.Client eQuantic.Core.Api.Crud.Client eQuantic.Core.Api.Crud.Client - 1.7.8.0 - 1.7.8.0 - 1.7.8.0 + 1.7.9.0 + 1.7.9.0 + 1.7.9.0 net7.0;net8.0 eQuantic.Core.Api.Crud.Client diff --git a/src/Api.Crud/Api.Crud.csproj b/src/Api.Crud/Api.Crud.csproj index b79ef2c..bd6c728 100644 --- a/src/Api.Crud/Api.Crud.csproj +++ b/src/Api.Crud/Api.Crud.csproj @@ -7,9 +7,9 @@ eQuantic.Core.Api.Crud eQuantic.Core.Api.Crud eQuantic.Core.Api.Crud - 1.7.8.0 - 1.7.8.0 - 1.7.8.0 + 1.7.9.0 + 1.7.9.0 + 1.7.9.0 net7.0;net8.0 eQuantic.Core.Api.Crud diff --git a/src/Application.Crud/Application.Crud.csproj b/src/Application.Crud/Application.Crud.csproj index 96697e1..a68e586 100644 --- a/src/Application.Crud/Application.Crud.csproj +++ b/src/Application.Crud/Application.Crud.csproj @@ -7,9 +7,9 @@ eQuantic.Core.Application.Crud eQuantic.Core.Application.Crud eQuantic.Core.Application.Crud - 1.7.8.0 - 1.7.8.0 - 1.7.8.0 + 1.7.9.0 + 1.7.9.0 + 1.7.9.0 netstandard2.1;net7.0;net8.0 eQuantic.Core.Application.Crud diff --git a/src/Application.Crud/Services/CrudServiceBase.cs b/src/Application.Crud/Services/CrudServiceBase.cs index 25f36e7..53a86c1 100644 --- a/src/Application.Crud/Services/CrudServiceBase.cs +++ b/src/Application.Crud/Services/CrudServiceBase.cs @@ -51,7 +51,7 @@ public virtual async Task CreateAsync(CreateRequest request, Can itemWithTimeMark.CreatedAt = DateTime.UtcNow; } - if (item is IEntityOwned itemWithOwner) + if (item is IEntityOwned itemWithOwner) { var userId = await ApplicationContext.GetCurrentUserIdAsync(); itemWithOwner.CreatedById = userId; @@ -85,7 +85,7 @@ public virtual async Task UpdateAsync(UpdateRequest reques itemWithTimeTrack.UpdatedAt = DateTime.UtcNow; } - if (item is IEntityTrack itemWithTrack) + if (item is IEntityTrack itemWithTrack) { var userId = await ApplicationContext.GetCurrentUserIdAsync(); itemWithTrack.UpdatedById = userId; @@ -119,7 +119,7 @@ public virtual async Task DeleteAsync(ItemRequest request, Cancellat itemWithTimeEnded.DeletedAt = DateTime.UtcNow; } - if (item is IEntityHistory itemWithHistory) + if (item is IEntityHistory itemWithHistory) { softDelete = true; var userId = await ApplicationContext.GetCurrentUserIdAsync();