ProjectLib/ProjectLibrary/Repositores/IBookRepository.cs

14 lines
309 B
C#
Raw Normal View History

2024-11-12 23:13:20 +04:00
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);
}
}