From 83a7bbf5f39c527d32279014ad4335bb6fa297a0 Mon Sep 17 00:00:00 2001 From: mahan Date: Sun, 14 Dec 2025 13:50:24 +0330 Subject: [PATCH] feat: register SignalR notification publisher for board updates --- ServiceHost/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ServiceHost/Program.cs b/ServiceHost/Program.cs index 4c4b58d8..70db4c48 100644 --- a/ServiceHost/Program.cs +++ b/ServiceHost/Program.cs @@ -27,11 +27,13 @@ using Swashbuckle.AspNetCore.SwaggerUI; using AccountManagement.Domain.InternalApiCaller; using FluentValidation; using GozareshgirProgramManager.Application._Bootstrapper; +using GozareshgirProgramManager.Application.Interfaces; using GozareshgirProgramManager.Application.Modules.Users.Commands.CreateUser; using GozareshgirProgramManager.Infrastructure; using GozareshgirProgramManager.Infrastructure.Persistence.Seed; using Microsoft.OpenApi; using ServiceHost.Hubs.ProgramManager; +using ServiceHost.Notifications.ProgramManager; var builder = WebApplication.CreateBuilder(args); @@ -55,6 +57,7 @@ builder.Services.AddProgramManagerApplication(); builder.Services.AddProgramManagerInfrastructure(builder.Configuration); builder.Services.AddValidatorsFromAssemblyContaining(); builder.Services.AddScoped(); +builder.Services.AddScoped(); #region MongoDb var mongoConnectionSection = builder.Configuration.GetSection("MongoDb");