aboutsummaryrefslogtreecommitdiff
path: root/Website/Website.Client/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Website/Website.Client/Program.cs')
-rw-r--r--Website/Website.Client/Program.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Website/Website.Client/Program.cs b/Website/Website.Client/Program.cs
index a245c93..914d088 100644
--- a/Website/Website.Client/Program.cs
+++ b/Website/Website.Client/Program.cs
@@ -1,9 +1,5 @@
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
-using Microsoft.Extensions.DependencyInjection;
-using System;
-using System.Net.Http;
-using System.Threading.Tasks;
-using Website.Client.Services;
+
namespace Website.Client
{
@@ -15,7 +11,6 @@ namespace Website.Client
//builder.RootComponents.Add<App>("#app");
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:44349") });
- builder.Services.AddScoped<DrinkDataService2>();
await builder.Build().RunAsync();
}