public IEnumerable <Autor> ListarAutoresLibro(int id) { using (var db = new BibliotecaDbContext()) { return((from a in db.LibAuts join aut in db.Autors on a.IdAutor equals aut.IdAutor where a.IdLibro == id select aut).ToList()); } }
public D_Libro(BibliotecaDbContext context) : base(context) { }
public D_Autor(BibliotecaDbContext Context) : base(Context) { }