SUBD/Sushi/SushiContracts/StorageContracts/ISushiStorage.cs

18 lines
548 B
C#
Raw Normal View History

2024-04-04 03:47:27 +04:00
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);
}
}