Модуль коллаборации
This commit is contained in:
+5
-1
@@ -10,6 +10,8 @@ using Nashel.Modules.Identity.Infrastructure;
|
||||
using Nashel.Modules.Identity.Presentation.Endpoints;
|
||||
using Nashel.Modules.Order.Infrastructure;
|
||||
using Nashel.Modules.Order.Presentation;
|
||||
using Nashel.Modules.Collaboration.Infrastructure;
|
||||
using Nashel.Modules.Collaboration.Presentation;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@@ -61,7 +63,8 @@ builder.Services.AddCatalogModule(builder.Configuration);
|
||||
builder.Services.AddGeoModule(builder.Configuration);
|
||||
|
||||
// Регистрация модуля Order
|
||||
builder.Services.AddOrderModule(builder.Configuration);
|
||||
// Регистрация модуля Collaboartion
|
||||
builder.Services.AddCollaborationModule(builder.Configuration);
|
||||
|
||||
// Настройка аутентификации
|
||||
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
|
||||
@@ -102,5 +105,6 @@ app.MapIdentityEndpoints();
|
||||
app.MapCatalogEndpoints();
|
||||
app.MapGeoEndpoints();
|
||||
app.MapOrderEndpoints();
|
||||
app.MapCollaborationEndpoints();
|
||||
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user