BuecherwurmAPI/Data/KatalogRepo.cs

20 lines
419 B
C#
Raw Normal View History

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