SUBD_SushiBar/SushiBar/SushiBarContracts/StoragesContracts/IBuyerStorage.cs

22 lines
634 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 IBuyerStorage
{
List<BuyerViewModel> GetFullList();
List<BuyerViewModel> GetFilteredList(BuyerSearchModel model);
BuyerViewModel? GetElement(BuyerSearchModel model);
BuyerViewModel? Insert(BuyerSearchModel model);
BuyerViewModel? Update(BuyerSearchModel model);
BuyerViewModel? Delete(BuyerSearchModel model);
}
}