Blazor server and client apps. With data service mocks

This commit is contained in:
Michael Shabanov committed 2020-02-09 18:07:45 +03:00
1 parent 1fa0b03555
commit a0ad7ca395
68 files changed
+1893

No files matched your search

+26
View File
@@ -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");
}
}
}