15 lines
380 B
C#
15 lines
380 B
C#
namespace ProjectLibrary.Repositories
|
|
{
|
|
using ProjectLibrary.Entites;
|
|
using ProjectLibrary.Entities;
|
|
|
|
public interface ILibraryRepository
|
|
{
|
|
IEnumerable<Library> ReadLibraries();
|
|
Library ReadLibraryById(int id);
|
|
void CreateLibrary(Library library);
|
|
void UpdateLibrary(Library library);
|
|
void DeleteLibrary(int id);
|
|
}
|
|
}
|