BuecherwurmAPI/Models/IItemRepo.cs

13 lines
297 B
C#
Raw Normal View History

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();
Item GetItemById(long itemId);
Item NewItem(ItemPost item);
void DeleteItem(long itemId);
2020-05-28 13:22:45 +00:00
}
}