diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj b/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj index b042368..761de4b 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.Domain/EasyMicroservices.ContentsMicroservice.Domain.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj b/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj index e587789..0b5953a 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.Tests/EasyMicroservices.ContentsMicroservice.Tests.csproj @@ -19,7 +19,7 @@ - + diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs index f7e0a5d..cd5d43f 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs @@ -4,6 +4,7 @@ using EasyMicroservices.Cores.AspCoreApi; using EasyMicroservices.Cores.AspEntityFrameworkCoreApi.Interfaces; using EasyMicroservices.Cores.Contracts.Requests; +using EasyMicroservices.Cores.DataTypes; using EasyMicroservices.ServiceContracts; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; @@ -85,7 +86,7 @@ public async Task> AddContentWithKey(AddConten Console.WriteLine($"try add {request.Key}!"); using var categorylogic = unitOfWork.GetLongContractLogic(); using var contentlogic = unitOfWork.GetLongContractLogic(); - using var languageLogic = unitOfWork.GetLongContractLogic(); + using var languageLogic = unitOfWork.GetLongContractLogic(UniqueIdentityStrategy.Full); var getCategoryResult = await categorylogic.GetByUniqueIdentity(request, Cores.DataTypes.GetUniqueIdentityType.All