primera version estable

This commit is contained in:
2026-09-07 12:17:10 +02:00
parent a644c843f4
commit 160122ce5e
22 changed files with 1333 additions and 7 deletions

27
swEmtusa/Program.cs Normal file
View File

@@ -0,0 +1,27 @@
using bdEmtusa;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
// var bd = tscEmtusa.NuevoContexto();
builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseHttpsRedirection();
app.UseAuthorization();
app.MapControllers();
app.Run();