App name refactor
Some checks failed
Build Bimix / Build WebAPI and WebUI (push) Failing after 12s

This commit is contained in:
Michał Zieliński
2025-10-11 11:33:46 +02:00
parent b4edaf007e
commit 6d2c46d971
88 changed files with 437 additions and 419 deletions

View File

@@ -0,0 +1,17 @@
using BimAI.UI.Shared.Services;
using Microsoft.Extensions.DependencyInjection;
namespace BimAI.UI.Shared.Extensions;
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddSharedServices(this IServiceCollection services, string apiBaseUrl)
{
services.AddHttpClient<ProductService>(client =>
{
client.BaseAddress = new Uri(apiBaseUrl);
});
return services;
}
}