2024-11-12 23:13:20 +04:00
|
|
|
|
using ProjectLibrary.Entites;
|
2024-11-19 19:46:02 +04:00
|
|
|
|
|
2024-11-12 23:13:20 +04:00
|
|
|
|
|
|
|
|
|
namespace ProjectLibrary.Repositories.Implementations
|
|
|
|
|
{
|
|
|
|
|
public class LibraryRepository : ILibraryRepository
|
|
|
|
|
{
|
|
|
|
|
public void CreateLibrary(Library library)
|
|
|
|
|
{
|
2024-11-19 19:46:02 +04:00
|
|
|
|
|
2024-11-12 23:13:20 +04:00
|
|
|
|
}
|
|
|
|
|
|
2024-11-20 19:31:06 +04:00
|
|
|
|
public void UpdateLibrary(Library library)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-12 23:13:20 +04:00
|
|
|
|
public void DeleteLibrary(int id)
|
|
|
|
|
{
|
2024-11-19 19:46:02 +04:00
|
|
|
|
|
2024-11-12 23:13:20 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Library ReadLibraryById(int id)
|
|
|
|
|
{
|
2024-11-19 19:46:02 +04:00
|
|
|
|
return Library.CreateEntity(id, "", "", []);
|
2024-11-12 23:13:20 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<Library> ReadLibraries()
|
|
|
|
|
{
|
2024-11-19 19:46:02 +04:00
|
|
|
|
return [];
|
2024-11-12 23:13:20 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|