diff --git a/samples/voting/results/Startup.cs b/samples/voting/results/Startup.cs index 50d3db10..e07a055e 100644 --- a/samples/voting/results/Startup.cs +++ b/samples/voting/results/Startup.cs @@ -1,19 +1,9 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Components; +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System.IdentityModel.Tokens.Jwt; -using Microsoft.AspNetCore.Identity; -using Microsoft.AspNetCore.Components.Authorization; -using Results.Areas.Identity; -using Microsoft.EntityFrameworkCore; namespace Results { @@ -33,7 +23,6 @@ namespace Results services.AddAuthorization(o => o.FallbackPolicy = o.DefaultPolicy); services.AddRazorPages(); services.AddServerSideBlazor(); - services.AddScoped>(); services.AddCors();