diff --git a/Lutra/Lutra.API/Lutra.API.csproj b/Lutra/Lutra.API/Lutra.API.csproj index 5cade1b..6959682 100644 --- a/Lutra/Lutra.API/Lutra.API.csproj +++ b/Lutra/Lutra.API/Lutra.API.csproj @@ -10,7 +10,7 @@ - + diff --git a/Lutra/Lutra.API/Program.cs b/Lutra/Lutra.API/Program.cs index d9523c3..7605a85 100644 --- a/Lutra/Lutra.API/Program.cs +++ b/Lutra/Lutra.API/Program.cs @@ -11,7 +11,6 @@ namespace Lutra.API var builder = WebApplication.CreateBuilder(args); builder.Services.AddCortexMediator( - configuration: builder.Configuration, handlerAssemblyMarkerTypes: [typeof(Program), typeof(GetVerspakketten)], options => options.AddDefaultBehaviors() ); diff --git a/Lutra/Lutra.AppHost/Lutra.AppHost.csproj b/Lutra/Lutra.AppHost/Lutra.AppHost.csproj index 0a51234..7d13d71 100644 --- a/Lutra/Lutra.AppHost/Lutra.AppHost.csproj +++ b/Lutra/Lutra.AppHost/Lutra.AppHost.csproj @@ -11,8 +11,8 @@ - - + + diff --git a/Lutra/Lutra.Application/Lutra.Application.csproj b/Lutra/Lutra.Application/Lutra.Application.csproj index 5c83d1c..c836440 100644 --- a/Lutra/Lutra.Application/Lutra.Application.csproj +++ b/Lutra/Lutra.Application/Lutra.Application.csproj @@ -8,7 +8,7 @@ - + diff --git a/Lutra/Lutra.Application/Models/Verspakketten/Verspakket.cs b/Lutra/Lutra.Application/Models/Verspakketten/Verspakket.cs index c7fa83e..262e92a 100644 --- a/Lutra/Lutra.Application/Models/Verspakketten/Verspakket.cs +++ b/Lutra/Lutra.Application/Models/Verspakketten/Verspakket.cs @@ -6,6 +6,6 @@ namespace Lutra.Application.Models.Verspakketten { public required string Name { get; init; } public required string Rating { get; init; } - public Supermarkt Supermarkt { get; init; } + public Supermarkt? Supermarkt { get; init; } } } diff --git a/Lutra/Lutra.Infrastructure/Lutra.Infrastructure.Sql.csproj b/Lutra/Lutra.Infrastructure/Lutra.Infrastructure.Sql.csproj index 7ff869b..5c3afe2 100644 --- a/Lutra/Lutra.Infrastructure/Lutra.Infrastructure.Sql.csproj +++ b/Lutra/Lutra.Infrastructure/Lutra.Infrastructure.Sql.csproj @@ -7,7 +7,7 @@ - + diff --git a/Lutra/Lutra.Infrastructure/LutraDbContext.cs b/Lutra/Lutra.Infrastructure/LutraDbContext.cs index 408864d..e83173e 100644 --- a/Lutra/Lutra.Infrastructure/LutraDbContext.cs +++ b/Lutra/Lutra.Infrastructure/LutraDbContext.cs @@ -1,9 +1,6 @@ using Lutra.Application.Interfaces; using Lutra.Domain.Entities; using Microsoft.EntityFrameworkCore; -using System; -using System.Collections.Generic; -using System.Text; namespace Lutra.Infrastructure.Sql;