SUBD_SushiBar/SushiBar/SushiBarContracts/StoragesContracts/IMenuStorage.cs

22 lines
622 B
C#
Raw Normal View History

2024-03-26 19:41:39 +04:00
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(MenuSearchModel model);
MenuViewModel? Update(MenuSearchModel model);
MenuViewModel? Delete(MenuSearchModel model);
}
}