ProjectLib/ProjectLibrary/Repositores/IBookRepository.cs

14 lines
309 B
C#

namespace ProjectLibrary.Repositories
{
using ProjectLibrary.Entities;
public interface IBookRepository
{
IEnumerable<Book> ReadBooks();
Book ReadBookById(int id);
void CreateBook(Book book);
void UpdateBook(Book book);
void DeleteBook(int id);
}
}