BuecherwurmAPI/Models/IBookRepo.cs
Naumann ae3cbb0cd3 .
2020-06-03 10:19:45 +02:00

14 lines
No EOL
330 B
C#

using System.Collections.Generic;
using BuecherwurmAPI.Models;
namespace BuecherwurmAPI.Models
{
public interface IBookRepo
{
IEnumerable<Book> GetAllBooks();
Book GetBookById(long id);
void DeleteBook(long id);
long AddBook (Book book);
long EditBook (long id, Book book);
}
}