using Modules.Common.Imports.Jobs; using Modules.OMS.Orders.Import; namespace Shared.Excel; public static class KbxExcelImportRegistration { public static IServiceCollection AddKbxExcelImport(this IServiceCollection services) { services.AddSignalR(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddTransient(); services.AddTransient(); services.AddTransient(); return services; } public static IEndpointRouteBuilder MapKbxExcelImport(this IEndpointRouteBuilder endpoints) { endpoints.MapHub("/hubs/import-progress"); return endpoints; } }