BuecherwurmAPI/Data/IItemRepo.cs

13 lines
284 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);
2020-05-28 13:56:51 +00:00
void NewItem(Item item);
void DeleteItem(Item item);
2020-05-28 13:22:45 +00:00
}
}