mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-24 03:40:07 +02:00
Blazor server and client apps. With data service mocks
This commit is contained in:
1 parent
1fa0b03555
commit
a0ad7ca395
68 files changed
+1893
No files matched your search
@@ -0,0 +1,26 @@
|
||||
using Microsoft.AspNetCore.Components.Builder;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using WotBlitzStatisticsPro.Common;
|
||||
using WotBlitzStatisticsPro.UI;
|
||||
using WotBlitzStatisticsPro.UI.Services;
|
||||
|
||||
namespace WotBlitzStatisticsPro.UI.Wasm
|
||||
{
|
||||
public class Startup
|
||||
{
|
||||
|
||||
// This method gets called by the runtime. Use this method to add services to the container.
|
||||
// For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddScoped<IAccountsSearchService, AccountsSearchService>();
|
||||
services.AddScoped<IAccountInfoService, AccountInfoService>();
|
||||
|
||||
}
|
||||
|
||||
public void Configure(IComponentsApplicationBuilder app)
|
||||
{
|
||||
app.AddComponent<App>("app");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user