diff --git a/src/Api/Api.csproj b/src/Api/Api.csproj
index a96e61d7..05bcd9e5 100644
--- a/src/Api/Api.csproj
+++ b/src/Api/Api.csproj
@@ -34,7 +34,7 @@
-
+
diff --git a/src/Api/Program.cs b/src/Api/Program.cs
index 0993af8b..a1a2e13f 100644
--- a/src/Api/Program.cs
+++ b/src/Api/Program.cs
@@ -31,6 +31,11 @@
// account service
builder.Services.AddScoped();
+//register ApiDbContext
+builder.Services.AddDbContext(options =>
+ options.UseSqlServer(builder.Configuration.GetConnectionString("DefaultConnection")));
+
+
builder.Services.AddControllers()
.AddNewtonsoftJson(
options =>