BuecherwurmAPI/Models/IBookRepo.cs

14 lines
330 B
C#
Raw Normal View History

2020-05-28 11:47:02 +00:00
using System.Collections.Generic;
using BuecherwurmAPI.Models;
2020-06-02 09:16:45 +00:00
namespace BuecherwurmAPI.Models
2020-05-28 11:47:02 +00:00
{
public interface IBookRepo
{
IEnumerable<Book> GetAllBooks();
2020-06-02 10:55:17 +00:00
Book GetBookById(long id);
2020-06-03 05:59:31 +00:00
void DeleteBook(long id);
2020-06-03 08:19:45 +00:00
long AddBook (Book book);
long EditBook (long id, Book book);
2020-05-28 11:47:02 +00:00
}
}