|
@@ -1,15 +1,8 @@
|
|
|
-using CronAlarm.Data;
|
|
|
|
|
using Microsoft.AspNetCore.Builder;
|
|
using Microsoft.AspNetCore.Builder;
|
|
|
-using Microsoft.AspNetCore.Components;
|
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
-using Microsoft.AspNetCore.HttpsPolicy;
|
|
|
|
|
using Microsoft.Extensions.Configuration;
|
|
using Microsoft.Extensions.Configuration;
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
using Microsoft.Extensions.Hosting;
|
|
using Microsoft.Extensions.Hosting;
|
|
|
-using System;
|
|
|
|
|
-using System.Collections.Generic;
|
|
|
|
|
-using System.Linq;
|
|
|
|
|
-using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace CronAlarm
|
|
namespace CronAlarm
|
|
|
{
|
|
{
|
|
@@ -28,7 +21,6 @@ namespace CronAlarm
|
|
|
{
|
|
{
|
|
|
services.AddRazorPages();
|
|
services.AddRazorPages();
|
|
|
services.AddServerSideBlazor();
|
|
services.AddServerSideBlazor();
|
|
|
- services.AddSingleton<WeatherForecastService>();
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|