22 lines
598 B
C#
22 lines
598 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.BusinessLogicContracts
|
|
{
|
|
public interface IBuyerLogic
|
|
{
|
|
List<BuyerViewModel>? ReadList(BuyerSearchModel? model);
|
|
BuyerViewModel? ReadElement(BuyerSearchModel model);
|
|
|
|
bool Create(BuyerBindingModel model);
|
|
bool Update(BuyerBindingModel model);
|
|
bool Delete(BuyerBindingModel model);
|
|
}
|
|
}
|