BuecherwurmAPI/Models/IItemRepo.cs

13 lines
286 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(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
}
}