BuecherwurmAPI/Models/IItemRepo.cs
2020-06-02 11:16:45 +02:00

13 lines
No EOL
286 B
C#

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