diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.ConsoleApp/EasyMicroservices.SupportsMicroservice.ConsoleApp.csproj b/src/CSharp/EasyMicroservices.SupportsMicroservice.ConsoleApp/EasyMicroservices.SupportsMicroservice.ConsoleApp.csproj index 3966047..f02677b 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.ConsoleApp/EasyMicroservices.SupportsMicroservice.ConsoleApp.csproj +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.ConsoleApp/EasyMicroservices.SupportsMicroservice.ConsoleApp.csproj @@ -7,10 +7,4 @@ enable - - - - - - diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/Database/Contexts/SupportContext.cs b/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/Database/Contexts/SupportContext.cs index c1cf5e2..7336de5 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/Database/Contexts/SupportContext.cs +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/Database/Contexts/SupportContext.cs @@ -17,7 +17,7 @@ public SupportContext(IEntityFrameworkCoreDatabaseBuilder builder) : base(builde public DbSet TicketDepartments { get; set; } public DbSet Tickets { get; set; } public DbSet TicketHistories { get; set; } - public DbSet TicketSupportTimeHistoryHistories { get; set; } + public DbSet TicketSupportTimeHistories { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/EasyMicroservices.SupportsMicroservice.Database.csproj b/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/EasyMicroservices.SupportsMicroservice.Database.csproj index 43f1cca..288c27d 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/EasyMicroservices.SupportsMicroservice.Database.csproj +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.Database/EasyMicroservices.SupportsMicroservice.Database.csproj @@ -11,9 +11,6 @@ - - - diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.Domain/EasyMicroservices.SupportsMicroservice.Domain.csproj b/src/CSharp/EasyMicroservices.SupportsMicroservice.Domain/EasyMicroservices.SupportsMicroservice.Domain.csproj index 0ab6183..d8130cf 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.Domain/EasyMicroservices.SupportsMicroservice.Domain.csproj +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.Domain/EasyMicroservices.SupportsMicroservice.Domain.csproj @@ -6,15 +6,12 @@ - + - - - diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.Logics/EasyMicroservices.SupportsMicroservice.Logics.csproj b/src/CSharp/EasyMicroservices.SupportsMicroservice.Logics/EasyMicroservices.SupportsMicroservice.Logics.csproj index b89c0d0..2e780f0 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.Logics/EasyMicroservices.SupportsMicroservice.Logics.csproj +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.Logics/EasyMicroservices.SupportsMicroservice.Logics.csproj @@ -6,10 +6,7 @@ - - - - + diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/DatabaseBuilder.cs b/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/DatabaseBuilder.cs index d3f761c..02b971f 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/DatabaseBuilder.cs +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/DatabaseBuilder.cs @@ -20,8 +20,8 @@ public DatabaseBuilder(IConfiguration configuration) public void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { - //optionsBuilder.UseInMemoryDatabase("CommentDatabase"); - optionsBuilder.UseSqlServer(_configuration.GetConnectionString("local")); + optionsBuilder.UseInMemoryDatabase("SupportDatabase"); + //optionsBuilder.UseSqlServer(_configuration.GetConnectionString("local")); } } } diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/EasyMicroservices.SupportsMicroservice.StartUp.csproj b/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/EasyMicroservices.SupportsMicroservice.StartUp.csproj index d52e975..09f5f8d 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/EasyMicroservices.SupportsMicroservice.StartUp.csproj +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.StartUp/EasyMicroservices.SupportsMicroservice.StartUp.csproj @@ -6,18 +6,14 @@ - - - - - - - + + + diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.Tests/EasyMicroservices.SupportsMicroservice.Tests.csproj b/src/CSharp/EasyMicroservices.SupportsMicroservice.Tests/EasyMicroservices.SupportsMicroservice.Tests.csproj index f3c73d8..73dbf0d 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.Tests/EasyMicroservices.SupportsMicroservice.Tests.csproj +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.Tests/EasyMicroservices.SupportsMicroservice.Tests.csproj @@ -10,9 +10,6 @@ - - - diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/Controllers/DepartmentController.cs b/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/Controllers/DepartmentController.cs index d378d79..0d492a7 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/Controllers/DepartmentController.cs +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/Controllers/DepartmentController.cs @@ -11,13 +11,11 @@ namespace EasyMicroservices.SupportsMicroservice.WebApi.Controllers { public class DepartmentController : SimpleQueryServiceController { - private readonly IContractLogic _contractlogic; public IUnitOfWork _uow; public DepartmentController(IUnitOfWork uow) : base(uow) { _uow = uow; - _contractlogic = uow.GetContractLogic(); } } } diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/EasyMicroservices.SupportsMicroservice.WebApi.csproj b/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/EasyMicroservices.SupportsMicroservice.WebApi.csproj index 2fd9875..b532c8e 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/EasyMicroservices.SupportsMicroservice.WebApi.csproj +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.WebApi/EasyMicroservices.SupportsMicroservice.WebApi.csproj @@ -6,9 +6,6 @@ - - - all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/CSharp/EasyMicroservices.SupportsMicroservice.sln b/src/CSharp/EasyMicroservices.SupportsMicroservice.sln index a1bac9e..a87244c 100644 --- a/src/CSharp/EasyMicroservices.SupportsMicroservice.sln +++ b/src/CSharp/EasyMicroservices.SupportsMicroservice.sln @@ -17,8 +17,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EasyMicroservices.SupportsM EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EasyMicroservices.SupportsMicroservice.Logics", "EasyMicroservices.SupportsMicroservice.Logics\EasyMicroservices.SupportsMicroservice.Logics.csproj", "{E8CBCF57-5CB3-48D6-AFB5-796AC5B6CEF0}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EasyMicroservices.SupportsMicroservice.Services", "EasyMicroservices.SupportsMicroservice.Services\EasyMicroservices.SupportsMicroservice.Services.csproj", "{44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EasyMicroservices.SupportsMicroservice.StartUp", "EasyMicroservices.SupportsMicroservice.StartUp\EasyMicroservices.SupportsMicroservice.StartUp.csproj", "{65F43F5A-953C-4A6D-BE3F-5492FC69F3EB}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EasyMicroservices.SupportsMicroservice.Database", "EasyMicroservices.SupportsMicroservice.Database\EasyMicroservices.SupportsMicroservice.Database.csproj", "{6B45CABC-0853-451A-BAD7-270DDE23F155}" @@ -73,18 +71,6 @@ Global {E8CBCF57-5CB3-48D6-AFB5-796AC5B6CEF0}.Release|x64.Build.0 = Release|Any CPU {E8CBCF57-5CB3-48D6-AFB5-796AC5B6CEF0}.Release|x86.ActiveCfg = Release|Any CPU {E8CBCF57-5CB3-48D6-AFB5-796AC5B6CEF0}.Release|x86.Build.0 = Release|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Debug|x64.ActiveCfg = Debug|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Debug|x64.Build.0 = Debug|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Debug|x86.ActiveCfg = Debug|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Debug|x86.Build.0 = Debug|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Release|Any CPU.Build.0 = Release|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Release|x64.ActiveCfg = Release|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Release|x64.Build.0 = Release|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Release|x86.ActiveCfg = Release|Any CPU - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8}.Release|x86.Build.0 = Release|Any CPU {65F43F5A-953C-4A6D-BE3F-5492FC69F3EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {65F43F5A-953C-4A6D-BE3F-5492FC69F3EB}.Debug|Any CPU.Build.0 = Debug|Any CPU {65F43F5A-953C-4A6D-BE3F-5492FC69F3EB}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -141,7 +127,6 @@ Global {6C20E582-6C19-4876-80DF-1657BE05E9C6} = {5095A63E-0C95-4352-8E6B-4586A9340BFB} {854A3BAE-FA97-497B-A46D-0D64BB07A3D6} = {5095A63E-0C95-4352-8E6B-4586A9340BFB} {E8CBCF57-5CB3-48D6-AFB5-796AC5B6CEF0} = {AAC7D1B4-C636-471D-8894-B1FA3D7995FB} - {44F3E28E-7E2D-4137-A4C7-A4A5FB2AB3F8} = {AAC7D1B4-C636-471D-8894-B1FA3D7995FB} {65F43F5A-953C-4A6D-BE3F-5492FC69F3EB} = {AAC7D1B4-C636-471D-8894-B1FA3D7995FB} {6B45CABC-0853-451A-BAD7-270DDE23F155} = {DD5CE7AE-185C-4AB5-A7AD-9CCB6051E804} {3953230A-A3AC-414C-8A26-2E1D4605D270} = {DD5CE7AE-185C-4AB5-A7AD-9CCB6051E804}