From 2c9c2cc3b414115bca9b6c63ca7b20d49a8a8ec1 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 15 Sep 2022 20:55:44 -0500 Subject: Agregar autor --- Models/LibraryContext.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Models/LibraryContext.cs') diff --git a/Models/LibraryContext.cs b/Models/LibraryContext.cs index 114ce2c..5e31e8f 100644 --- a/Models/LibraryContext.cs +++ b/Models/LibraryContext.cs @@ -2,6 +2,7 @@ using Microsoft.EntityFrameworkCore; namespace LibraryAPI.Models { public class LibraryContext : DbContext { + public DbSet? Authors { get; set; } public DbSet? Books { get; set; } public LibraryContext(DbContextOptions options) : base(options) {} //protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) -- cgit v1.2.3