BuecherwurmAPI/Data/IItemRepo.cs

13 lines
271 B
C#
Raw Normal View History

2020-05-28 13:22:45 +00:00
using System.Collections.Generic;
using BuecherwurmAPI.Models;
namespace BuecherwurmAPI.Data
{
public interface IItemRepo
{
IEnumerable<Item> GetAllItems();
Item GetItemById(int id);
NewItem(Item item);
DeleteItem(int id);
}
}