ProjectLib/ProjectLibrary/Repositores/IBookRepository.cs

14 lines
308 B
C#

namespace ProjectLibrary.Repositores
{
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);
}
}