You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Common.Types/Connected.Common.Types.Client/ClientBootstrapper.cs

22 lines
535 B

2 years ago
using Connected.Common.Types.TaxRates;
2 years ago
using Connected.Startup;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
2 years ago
namespace Connected.Common.Types;
2 years ago
public class ClientBootstrapper : IStartup
{
public async Task Configure(WebAssemblyHost host)
{
await Task.CompletedTask;
}
public async Task ConfigureServices(IServiceCollection services)
{
services.Add(ServiceDescriptor.Scoped(typeof(ITaxRateService), typeof(TaxRateService)));
await Task.CompletedTask;
}
}