15 lines
288 B
C#
15 lines
288 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace XXCpzs.Models
|
|
{
|
|
public interface IItemRepository
|
|
{
|
|
void Add(Item item);
|
|
void Update(Item item);
|
|
Item Remove(string key);
|
|
Item Get(string id);
|
|
IEnumerable<Item> GetAll();
|
|
}
|
|
}
|