2024-03-26 20:35:34 +04:00
|
|
|
|
using SushiBarContracts.BindingModels;
|
|
|
|
|
using SushiBarContracts.SearchModels;
|
2024-03-26 19:41:39 +04:00
|
|
|
|
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);
|
2024-03-26 20:35:34 +04:00
|
|
|
|
BuyerViewModel? Insert(BuyerBindingModel model);
|
|
|
|
|
BuyerViewModel? Update(BuyerBindingModel model);
|
|
|
|
|
BuyerViewModel? Delete(BuyerBindingModel model);
|
2024-05-07 21:53:37 +04:00
|
|
|
|
void ClearEntity();
|
2024-03-26 19:41:39 +04:00
|
|
|
|
}
|
|
|
|
|
}
|