|
@@ -5,6 +5,7 @@ using ConcursoProjetos.Service;
|
|
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 Radzen;
|
|
using Serilog;
|
|
using Serilog;
|
|
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
@@ -38,7 +39,7 @@ builder.Services.AddScoped<IProjetoService, ProjetoService>();
|
|
builder.Services.AddScoped<ITipoDocumentoService, TipoDocumentoService>();
|
|
builder.Services.AddScoped<ITipoDocumentoService, TipoDocumentoService>();
|
|
builder.Services.AddScoped<IDocumentoService, DocumentoService>();
|
|
builder.Services.AddScoped<IDocumentoService, DocumentoService>();
|
|
|
|
|
|
-
|
|
|
|
|
|
+builder.Services.AddRadzenComponents();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -64,6 +65,8 @@ builder.Services.AddIdentityCore<ApplicationUser>(options => options.SignIn.Requ
|
|
|
|
|
|
builder.Services.AddSingleton<IEmailSender<ApplicationUser>, IdentityNoOpEmailSender>();
|
|
builder.Services.AddSingleton<IEmailSender<ApplicationUser>, IdentityNoOpEmailSender>();
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
var app = builder.Build();
|
|
var app = builder.Build();
|
|
|
|
|
|
// Configure the HTTP request pipeline.
|
|
// Configure the HTTP request pipeline.
|