commited scoobydoo
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Nexus.Application.Interfaces;
|
||||
using Nexus.Infrastructure.Persistence;
|
||||
using Nexus.Infrastructure.Services;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@@ -8,6 +10,7 @@ builder.Services.AddDbContext<NexusDbContext>(options =>
|
||||
builder.Configuration.GetConnectionString("DefaultConnection")
|
||||
)
|
||||
);
|
||||
builder.Services.AddScoped<IProjectService, ProjectService>();
|
||||
builder.Services.AddControllers();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
Reference in New Issue
Block a user