using System.Collections.Generic; using BuecherwurmAPI.Models; namespace BuecherwurmAPI.Data { public class KatalogRepo { private readonly object _context; public IEnumerable GetAllBooks() { return _context.Book.ToList(); } /*public Book GetBookById(int id) { return _context.FirstOrDefault(p => p.Id == id); }*/ } }