|
|
@ -1,9 +1,13 @@ |
|
|
|
using HelloBlazorServer.Components; |
|
|
|
using HelloBlazorServer.Components; |
|
|
|
using HelloBlazorServer.Components.Account; |
|
|
|
using HelloBlazorServer.Components.Account; |
|
|
|
using HelloBlazorServer.Data; |
|
|
|
using HelloBlazorServer.Data; |
|
|
|
|
|
|
|
using HelloBlazorServer.Interfaces; |
|
|
|
|
|
|
|
using HelloBlazorServer.Models; |
|
|
|
|
|
|
|
using HelloBlazorServer.Services; |
|
|
|
using Microsoft.AspNetCore.Components.Authorization; |
|
|
|
using Microsoft.AspNetCore.Components.Authorization; |
|
|
|
using Microsoft.AspNetCore.Identity; |
|
|
|
using Microsoft.AspNetCore.Identity; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
|
|
|
|
|
|
|
|
namespace HelloBlazorServer |
|
|
|
namespace HelloBlazorServer |
|
|
|
{ |
|
|
|
{ |
|
|
@ -41,6 +45,9 @@ namespace HelloBlazorServer |
|
|
|
|
|
|
|
|
|
|
|
builder.Services.AddSingleton<IEmailSender<ApplicationUser>, IdentityNoOpEmailSender>(); |
|
|
|
builder.Services.AddSingleton<IEmailSender<ApplicationUser>, IdentityNoOpEmailSender>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
builder.Services.AddDbContext<BlazorServerDbContext>(); |
|
|
|
|
|
|
|
builder.Services.AddScoped<IDatabase<GangnamguPopulation>, GangnamguPopulationService>(); |
|
|
|
|
|
|
|
|
|
|
|
var app = builder.Build(); |
|
|
|
var app = builder.Build(); |
|
|
|
|
|
|
|
|
|
|
|
// Configure the HTTP request pipeline. |
|
|
|
// Configure the HTTP request pipeline. |
|
|
|