20 lines
419 B
C#
20 lines
419 B
C#
|
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);
|
||
|
}*/
|
||
|
}
|
||
|
}
|