MODELS AND CONTROLLERS

This commit is contained in:
MARIFER HERNANDEZ GONZALEZ
2025-10-28 19:40:21 -06:00
parent 7b037ee769
commit e873c3f903
14 changed files with 279 additions and 32 deletions

12
Models/Usuario.cs Normal file
View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace BibliotecaAPI.Models
{
public class Usuario
{
[Key]
public int Id { get; set; }
public string Nombre { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
}
}