2020-05-28 13:22:45 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using BuecherwurmAPI.Models;
|
|
|
|
|
2020-06-02 09:16:45 +00:00
|
|
|
namespace BuecherwurmAPI.Models
|
2020-05-28 13:22:45 +00:00
|
|
|
{
|
|
|
|
public interface IItemRepo
|
|
|
|
{
|
|
|
|
IEnumerable<Item> GetAllItems();
|
2020-06-03 06:26:54 +00:00
|
|
|
Item GetItemById(long itemId);
|
|
|
|
Item NewItem(ItemPost item);
|
|
|
|
void DeleteItem(long itemId);
|
2020-05-28 13:22:45 +00:00
|
|
|
}
|
|
|
|
}
|