Skip to content

Commit

Permalink
Fix requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiyarGHD committed Nov 2, 2023
1 parent 247e45f commit e9a2e30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ namespace EasyMicroservices.QuestionsMicroservice.Database.Contexts
public class QuestionContext : RelationalCoreContext
{
IEntityFrameworkCoreDatabaseBuilder _builder;

Check warning on line 10 in src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs

View workflow job for this annotation

GitHub Actions / os-tests

Field 'QuestionContext._builder' is never assigned to, and will always have its default value null

Check warning on line 10 in src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs

View workflow job for this annotation

GitHub Actions / os-tests

Field 'QuestionContext._builder' is never assigned to, and will always have its default value null

Check warning on line 10 in src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs

View workflow job for this annotation

GitHub Actions / os-tests

Field 'QuestionContext._builder' is never assigned to, and will always have its default value null

Check warning on line 10 in src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs

View workflow job for this annotation

GitHub Actions / os-tests

Field 'QuestionContext._builder' is never assigned to, and will always have its default value null

Check warning on line 10 in src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs

View workflow job for this annotation

GitHub Actions / os-tests

Field 'QuestionContext._builder' is never assigned to, and will always have its default value null

Check warning on line 10 in src/CSharp/EasyMicroservices.QuestionsMicroservice.Database/Database/Contexts/QuestionContext.cs

View workflow job for this annotation

GitHub Actions / os-tests

Field 'QuestionContext._builder' is never assigned to, and will always have its default value null
public QuestionContext(IEntityFrameworkCoreDatabaseBuilder builder)
public QuestionContext(IEntityFrameworkCoreDatabaseBuilder builder) : base(builder)
{
_builder = builder;
}

public DbSet<QuestionEntity> Questions { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using EasyMicroservices.Cores.Relational.EntityFrameworkCore.Intrerfaces;
using EasyMicroservices.QuestionsMicroservice;

namespace EasyMicroservices.ContentsMicroservice.WebApi
namespace EasyMicroservices.QuestionsMicroservice.WebApi
{
public class Program
{
Expand Down

0 comments on commit e9a2e30

Please sign in to comment.