SUBD_SushiBar/SushiBar/SushiBarContracts/StoragesContracts/IMenuStorage.cs

24 lines
692 B
C#

using SushiBarContracts.BindingModels;
using SushiBarContracts.SearchModels;
using SushiBarContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarContracts.StoragesContracts
{
public interface IMenuStorage
{
List<MenuViewModel> GetFullList();
List<MenuViewModel> GetFilteredList(MenuSearchModel model);
MenuViewModel? GetElement(MenuSearchModel model);
MenuViewModel? Insert(MenuBindingModel model);
MenuViewModel? Update(MenuBindingModel model);
MenuViewModel? Delete(MenuBindingModel model);
void ClearEntity();
}
}