|
|
|
@ -1,14 +1,12 @@
|
|
|
|
|
using Blazored.LocalStorage;
|
|
|
|
|
using Blazored.Modal;
|
|
|
|
|
using Blazorise;
|
|
|
|
|
using Blazorise.Bootstrap;
|
|
|
|
|
using Blazorise.Icons.FontAwesome;
|
|
|
|
|
using BlazorTp1.Data;
|
|
|
|
|
using Blazored.Modal;
|
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
|
|
|
using Microsoft.AspNetCore.Localization;
|
|
|
|
|
using System.Globalization;
|
|
|
|
|
using Microsoft.Extensions.Options;
|
|
|
|
|
using System.Globalization;
|
|
|
|
|
|
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
|
|
|
|
|
@ -19,6 +17,8 @@ builder.Services.AddSingleton<WeatherForecastService>();
|
|
|
|
|
|
|
|
|
|
builder.Services.AddHttpClient();
|
|
|
|
|
|
|
|
|
|
builder.Services.AddBlazoredModal();
|
|
|
|
|
|
|
|
|
|
builder.Services
|
|
|
|
|
.AddBlazorise()
|
|
|
|
|
.AddBootstrapProviders()
|
|
|
|
@ -28,8 +28,6 @@ builder.Services.AddBlazoredLocalStorage();
|
|
|
|
|
|
|
|
|
|
builder.Services.AddScoped<IDataService, DataLocalService>();
|
|
|
|
|
|
|
|
|
|
builder.Services.AddBlazoredModal();
|
|
|
|
|
|
|
|
|
|
// Add the controller of the app
|
|
|
|
|
builder.Services.AddControllers();
|
|
|
|
|
|
|
|
|
|