From e9a2e3005e7f1cc4cb5e6b14e7fb87ef79736177 Mon Sep 17 00:00:00 2001 From: Mahdiyar Ghannad Date: Thu, 2 Nov 2023 09:49:16 +0330 Subject: [PATCH] Fix requested changes --- .../Database/Contexts/QuestionContext.cs | 3 +-- .../EasyMicroservices.QuestionsMicroservice.WebApi/Program.cs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs b/src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs index babef25..1b10519 100644 --- a/src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs +++ b/src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs @@ -8,9 +8,8 @@ namespace EasyMicroservices.QuestionsMicroservice.Database.Contexts public class QuestionContext : RelationalCoreContext { IEntityFrameworkCoreDatabaseBuilder _builder; - public QuestionContext(IEntityFrameworkCoreDatabaseBuilder builder) + public QuestionContext(IEntityFrameworkCoreDatabaseBuilder builder) : base(builder) { - _builder = builder; } public DbSet Questions { get; set; } diff --git a/src/CSharp/EasyMicroservices.QuestionsMicroservice.WebApi/Program.cs b/src/CSharp/EasyMicroservices.QuestionsMicroservice.WebApi/Program.cs index 890b8bd..26dca71 100644 --- a/src/CSharp/EasyMicroservices.QuestionsMicroservice.WebApi/Program.cs +++ b/src/CSharp/EasyMicroservices.QuestionsMicroservice.WebApi/Program.cs @@ -3,7 +3,7 @@ using EasyMicroservices.Cores.Relational.EntityFrameworkCore.Intrerfaces; using EasyMicroservices.QuestionsMicroservice; -namespace EasyMicroservices.ContentsMicroservice.WebApi +namespace EasyMicroservices.QuestionsMicroservice.WebApi { public class Program {