BuecherwurmAPI/Data/IItemRepo.cs
2020-05-28 15:56:51 +02:00

13 lines
No EOL
284 B
C#

using System.Collections.Generic;
using BuecherwurmAPI.Models;
namespace BuecherwurmAPI.Data
{
public interface IItemRepo
{
IEnumerable<Item> GetAllItems();
Item GetItemById(int id);
void NewItem(Item item);
void DeleteItem(Item item);
}
}