18 lines
548 B
C#
18 lines
548 B
C#
|
using SushiContracts.BindingModels;
|
|||
|
using SushiContracts.SearchModels;
|
|||
|
using SushiContracts.ViewModels;
|
|||
|
|
|||
|
namespace SushiContracts.StoragesContracts
|
|||
|
{
|
|||
|
public interface ISushiStorage
|
|||
|
{
|
|||
|
List<SushiViewModel> GetFullList();
|
|||
|
List<SushiViewModel> GetFilteredList(SushiSearchModel model);
|
|||
|
SushiViewModel? GetElement(SushiSearchModel model);
|
|||
|
SushiViewModel? Insert(SushiBindingModel model);
|
|||
|
SushiViewModel? Update(SushiBindingModel model);
|
|||
|
SushiViewModel? Delete(SushiBindingModel model);
|
|||
|
|
|||
|
}
|
|||
|
}
|