22 lines
634 B
C#
22 lines
634 B
C#
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);
|
|
}
|
|
}
|