diff --git a/Props/server/Props.csproj b/Props/server/Props.csproj
index d95aa1b..51672c5 100644
--- a/Props/server/Props.csproj
+++ b/Props/server/Props.csproj
@@ -18,6 +18,7 @@
+
diff --git a/Props/server/Startup.cs b/Props/server/Startup.cs
index d5b4ded..767a0b3 100644
--- a/Props/server/Startup.cs
+++ b/Props/server/Startup.cs
@@ -25,8 +25,10 @@ namespace Props
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext(options =>
- options.UseSqlite(
- Configuration.GetConnectionString("DefaultConnection")));
+ {
+ options.UseLazyLoadingProxies();
+ options.UseSqlite(Configuration.GetConnectionString("DefaultConnection"));
+ });
services.AddDatabaseDeveloperPageExceptionFilter();