BuecherwurmAPI/Models/IBookRepo.cs

14 lines
323 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);
void DeleteBook(Book book);
void AddBook (Book book);
void EditBook (Book book);
2020-05-28 11:47:02 +00:00
}
}