Final
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.20" />
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.10" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.10" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.10" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.10" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.10" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.10">
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.10">
|
||||||
|
|||||||
@@ -35,13 +35,13 @@ namespace BibliotecaAPI.Controllers
|
|||||||
{
|
{
|
||||||
_context.Libros.Add(libro);
|
_context.Libros.Add(libro);
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
return CreatedAtAction(nameof(GetLibro), new { id = libro.IdLibro }, libro);
|
return CreatedAtAction(nameof(GetLibro), new { id = libro.Id_Libro }, libro);
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPut("{id}")]
|
[HttpPut("{id}")]
|
||||||
public async Task<IActionResult> PutLibro(int id, Libro libro)
|
public async Task<IActionResult> PutLibro(int id, Libro libro)
|
||||||
{
|
{
|
||||||
if (id != libro.IdLibro) return BadRequest();
|
if (id != libro.Id_Libro) return BadRequest();
|
||||||
_context.Entry(libro).State = EntityState.Modified;
|
_context.Entry(libro).State = EntityState.Modified;
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
return NoContent();
|
return NoContent();
|
||||||
@@ -50,11 +50,11 @@ namespace BibliotecaAPI.Controllers
|
|||||||
[HttpDelete("{id}")]
|
[HttpDelete("{id}")]
|
||||||
public async Task<IActionResult> DeleteLibro(int id)
|
public async Task<IActionResult> DeleteLibro(int id)
|
||||||
{
|
{
|
||||||
var libro = await _context.Libros.FindAsync(IdLibro);
|
var libro = await _context.Libros.FindAsync(id);
|
||||||
if (libro == null) return NotFound();
|
if (libro == null) return NotFound();
|
||||||
_context.Libros.Remove(libro);
|
_context.Libros.Remove(libro);
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
return NoContent();
|
return NoContent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -20,11 +20,22 @@ namespace BibliotecaAPI.Controllers
|
|||||||
[HttpPost("crear")]
|
[HttpPost("crear")]
|
||||||
public async Task<ActionResult<Prestamo>> CrearPrestamo(Prestamo prestamo)
|
public async Task<ActionResult<Prestamo>> CrearPrestamo(Prestamo prestamo)
|
||||||
{
|
{
|
||||||
var libro = await _context.Libros.FindAsync(prestamo.IdLibro);
|
// Verificar si el usuario tiene 3 o más préstamos no devueltos
|
||||||
if (libro == null || libro.CopiasDisponibles <= 0)
|
var prestamosActivos = await _context.Prestamos
|
||||||
|
.Where(p => p.Id_Usuario == prestamo.Id_Usuario && !p.Devuelto)
|
||||||
|
.CountAsync();
|
||||||
|
|
||||||
|
if (prestamosActivos >= 3)
|
||||||
|
return BadRequest("El usuario ya tiene 3 préstamos activos. Debe devolver al menos uno antes de realizar un nuevo préstamo.");
|
||||||
|
|
||||||
|
var libro = await _context.Libros.FindAsync(prestamo.Id_Libro);
|
||||||
|
if (libro == null || libro.Copias_Disponibles <= 0)
|
||||||
return BadRequest("Libro no disponible.");
|
return BadRequest("Libro no disponible.");
|
||||||
|
|
||||||
libro.CopiasDisponibles--;
|
libro.Copias_Disponibles--;
|
||||||
|
prestamo.Fecha_Prestamo = DateTime.Now;
|
||||||
|
prestamo.Devuelto = false;
|
||||||
|
|
||||||
_context.Prestamos.Add(prestamo);
|
_context.Prestamos.Add(prestamo);
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
|
|
||||||
@@ -35,37 +46,43 @@ namespace BibliotecaAPI.Controllers
|
|||||||
[HttpPut("devolver/{id}")]
|
[HttpPut("devolver/{id}")]
|
||||||
public async Task<IActionResult> RegistrarDevolucion(int id)
|
public async Task<IActionResult> RegistrarDevolucion(int id)
|
||||||
{
|
{
|
||||||
var prestamo = await _context.Prestamos.Include(p => p.Libro).FirstOrDefaultAsync(p => p.Id == id);
|
var prestamo = await _context.Prestamos
|
||||||
|
//.Include(p => p.Libro) // propiedad de navegación
|
||||||
|
.FirstOrDefaultAsync(p => p.Id_Prestamo == id);
|
||||||
|
|
||||||
if (prestamo == null) return NotFound();
|
if (prestamo == null) return NotFound();
|
||||||
|
|
||||||
|
if (prestamo.Devuelto)
|
||||||
|
return BadRequest("Este préstamo ya fue devuelto.");
|
||||||
|
|
||||||
prestamo.Devuelto = true;
|
prestamo.Devuelto = true;
|
||||||
prestamo.FechaDevolucion = DateTime.Now;
|
//prestamo.Libro.Copias_Disponibles++;
|
||||||
prestamo.Libro.CopiasDisponibles++;
|
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
|
|
||||||
return Ok("Devolución registrada con éxito.");
|
return Ok("Devolución registrada con éxito.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Consultar préstamos activos
|
// Consultar préstamos activos
|
||||||
[HttpGet("activos")]
|
[HttpGet("activos")]
|
||||||
public async Task<ActionResult<IEnumerable<Prestamo>>> GetActivos()
|
public async Task<ActionResult<IEnumerable<Prestamo>>> GetActivos()
|
||||||
{
|
{
|
||||||
return await _context.Prestamos
|
return await _context.Prestamos
|
||||||
.Include(p => p.Libro)
|
//.Include(p => p.Libro)
|
||||||
.Include(p => p.Usuario)
|
//.Include(p => p.Usuario)
|
||||||
.Where(p => !p.Devuelto)
|
.Where(p => !p.Devuelto)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Consultar préstamos vencidos (más de 15 días)
|
// Consultar préstamos vencidos (más de 10 días)
|
||||||
[HttpGet("vencidos")]
|
[HttpGet("vencidos")]
|
||||||
public async Task<ActionResult<IEnumerable<Prestamo>>> GetVencidos()
|
public async Task<ActionResult<IEnumerable<Prestamo>>> GetVencidos()
|
||||||
{
|
{
|
||||||
var hoy = DateTime.Now;
|
var hoy = DateTime.Now;
|
||||||
return await _context.Prestamos
|
return await _context.Prestamos
|
||||||
.Include(p => p.Libro)
|
//.Include(p => p.Libro)
|
||||||
.Include(p => p.Usuario)
|
//.Include(p => p.Usuario)
|
||||||
.Where(p => !p.Devuelto && (hoy - p.FechaPrestamo).TotalDays > 10)
|
.Where(p => !p.Devuelto && (hoy - p.Fecha_Prestamo).TotalDays > 10)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,9 +91,9 @@ namespace BibliotecaAPI.Controllers
|
|||||||
public async Task<ActionResult<IEnumerable<Prestamo>>> GetHistorialUsuario(int usuarioId)
|
public async Task<ActionResult<IEnumerable<Prestamo>>> GetHistorialUsuario(int usuarioId)
|
||||||
{
|
{
|
||||||
return await _context.Prestamos
|
return await _context.Prestamos
|
||||||
.Include(p => p.Libro)
|
//.Include(p => p.Libro)
|
||||||
.Where(p => p.IdUsuario == usuarioId)
|
.Where(p => p.Id_Usuario == usuarioId)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -27,7 +27,7 @@ namespace BibliotecaAPI.Controllers
|
|||||||
{
|
{
|
||||||
_context.Usuarios.Add(usuario);
|
_context.Usuarios.Add(usuario);
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
return CreatedAtAction(nameof(GetUsuarios), new { id = usuario.IdUsuario }, usuario);
|
return CreatedAtAction(nameof(GetUsuarios), new { id = usuario.Id_Usuario }, usuario);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -5,13 +5,13 @@ namespace BibliotecaAPI.Models
|
|||||||
public class Libro
|
public class Libro
|
||||||
{
|
{
|
||||||
[Key]
|
[Key]
|
||||||
public int IdLibro { get; set; }
|
public int Id_Libro { get; set; }
|
||||||
public string Titulo { get; set; } = string.Empty;
|
public string Titulo { get; set; } = string.Empty;
|
||||||
public string Autor { get; set; } = string.Empty;
|
public string Autor { get; set; } = string.Empty;
|
||||||
public string ISBN { get; set; } = string.Empty;
|
public string ISBN { get; set; } = string.Empty;
|
||||||
public int Ano { get; set; }
|
public int Ano { get; set; }
|
||||||
public string Categoria { get; set; } = string.Empty;
|
public string Categoria { get; set; } = string.Empty;
|
||||||
public int CopiasDisponibles { get; set; }
|
public int Copias_Disponibles { get; set; }
|
||||||
|
|
||||||
public ICollection<Prestamo> Prestamos {get;set;}
|
public ICollection<Prestamo> Prestamos {get;set;}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,13 +21,19 @@ namespace BibliotecaAPI.Models
|
|||||||
public DateTime FechaPrestamo { get; set; } = DateTime.Now;
|
public DateTime FechaPrestamo { get; set; } = DateTime.Now;
|
||||||
public DateTime? FechaDevolucion { get; set; }
|
public DateTime? FechaDevolucion { get; set; }
|
||||||
public bool Devuelto { get; set; } = false;*/
|
public bool Devuelto { get; set; } = false;*/
|
||||||
public int IdPrestamo { get; set; }
|
[Key]
|
||||||
public int IdUsuario { get; set; }
|
public int Id_Prestamo { get; set; }
|
||||||
public int IdLibro { get; set; }
|
[ForeignKey(nameof(Libro))]
|
||||||
public DateTime FechaPrestamo { get; set; }
|
public int Id_Libro { get; set; } // FK
|
||||||
public bool Devuelto {get;set;}
|
//public Libro Libro { get; set; } // Propiedad de navegación
|
||||||
|
|
||||||
|
[ForeignKey(nameof(Usuario))]
|
||||||
|
public int Id_Usuario { get; set; } // FK
|
||||||
|
//public Usuario Usuario { get; set; } // Propiedad de navegación
|
||||||
|
|
||||||
|
public DateTime Fecha_Prestamo { get; set; }
|
||||||
|
public bool Devuelto { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public Usuario Usuario { get; set; }
|
|
||||||
public Libro Libro { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ namespace BibliotecaAPI.Models
|
|||||||
public class Usuario
|
public class Usuario
|
||||||
{
|
{
|
||||||
[Key]
|
[Key]
|
||||||
public int IdUsuario { get; set; }
|
public int Id_Usuario { get; set; }
|
||||||
public string Nombre { get; set; } = string.Empty;
|
public string Nombre { get; set; } = string.Empty;
|
||||||
public string Apellido { get; set; } = string.Empty;
|
public string Apellido { get; set; } = string.Empty;
|
||||||
public DateTime FechaRegistro { get; set; }
|
public DateTime Fecha_Registro { get; set; }
|
||||||
|
|
||||||
public ICollection<Prestamo> Prestamos {get;set;}
|
public ICollection<Prestamo> Prestamos {get;set;}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,24 +2,23 @@ using BibliotecaAPI.Data;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
builder.Services.AddDbContext<BibliotecaContext>(options => options.UseSqlite(builder.Configuration.GetConnectionString("DefaultConnection")));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
builder.Services.AddControllers();
|
builder.Services.AddControllers();
|
||||||
|
builder.Services.AddOpenApi();
|
||||||
builder.Services.AddEndpointsApiExplorer();
|
builder.Services.AddEndpointsApiExplorer();
|
||||||
builder.Services.AddSwaggerGen();
|
builder.Services.AddSwaggerGen();
|
||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
app.UseSwagger();
|
||||||
// Activar Swagger para probar endpoints
|
app.UseSwaggerUI(
|
||||||
if (app.Environment.IsDevelopment())
|
c => {
|
||||||
{
|
c.SwaggerEndpoint("/swagger/v1/swagger.json", "Inventario API V1");
|
||||||
app.UseSwagger();
|
c.RoutePrefix = string.Empty; // Swagger en la raíz
|
||||||
app.UseSwaggerUI();
|
}
|
||||||
}
|
);
|
||||||
|
|
||||||
app.UseHttpsRedirection();
|
app.UseHttpsRedirection();
|
||||||
app.UseAuthorization();
|
|
||||||
app.MapControllers();
|
app.MapControllers();
|
||||||
|
|
||||||
app.Run();
|
app.Run();
|
||||||
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi
Executable file
Binary file not shown.
1285
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi.deps.json
Normal file
1285
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi.dll
Normal file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi.dll
Normal file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi.pdb
Normal file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/BibliotecaDigitalApi.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"frameworks": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.AspNetCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configProperties": {
|
||||||
|
"System.GC.Server": true,
|
||||||
|
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"ManifestType": "Build",
|
||||||
|
"Endpoints": []
|
||||||
|
}
|
||||||
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Humanizer.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Humanizer.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.AspNetCore.OpenApi.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.AspNetCore.OpenApi.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Build.Locator.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Build.Locator.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.CodeAnalysis.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Data.Sqlite.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Data.Sqlite.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Sqlite.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll
Executable file
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Options.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Options.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.OpenApi.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Microsoft.OpenApi.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Mono.TextTemplating.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Mono.TextTemplating.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/SQLitePCLRaw.batteries_v2.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/SQLitePCLRaw.batteries_v2.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/SQLitePCLRaw.core.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/SQLitePCLRaw.core.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/SQLitePCLRaw.provider.e_sqlite3.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/SQLitePCLRaw.provider.e_sqlite3.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Swashbuckle.AspNetCore.Swagger.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Swashbuckle.AspNetCore.Swagger.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerGen.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerGen.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerUI.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerUI.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.CodeDom.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.CodeDom.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.AttributedModel.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.AttributedModel.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.Convention.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.Convention.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.Hosting.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.Hosting.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.Runtime.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.Runtime.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.TypedParts.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Composition.TypedParts.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Diagnostics.DiagnosticSource.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Diagnostics.DiagnosticSource.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.IO.Pipelines.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.IO.Pipelines.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Text.Encodings.Web.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Text.Encodings.Web.dll
Executable file
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Text.Json.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/System.Text.Json.dll
Executable file
Binary file not shown.
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"DefaultConnection": "Data Source=Data/database.db"
|
||||||
|
}
|
||||||
|
}
|
||||||
9
BibliotecaDigitalApi/bin/Debug/net8.0/appsettings.json
Normal file
9
BibliotecaDigitalApi/bin/Debug/net8.0/appsettings.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*"
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/es/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/fr/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/it/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/ja/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
BibliotecaDigitalApi/bin/Debug/net8.0/ko/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user