2024-03-15 19:52:21 +04:00
|
|
|
|
using PizzeriaContracts.BindingModels;
|
|
|
|
|
using SushiBarContracts.BindingModels;
|
2024-02-09 15:31:49 +04:00
|
|
|
|
using SushiBarContracts.SearchModels;
|
|
|
|
|
using SushiBarContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace SushiBarContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ISushiLogic
|
|
|
|
|
{
|
|
|
|
|
List<SushiViewModel>? ReadList(SushiSearchModel? model);
|
|
|
|
|
SushiViewModel? ReadElement(SushiSearchModel model);
|
|
|
|
|
bool Create(SushiBindingModel model);
|
|
|
|
|
bool Update(SushiBindingModel model);
|
|
|
|
|
bool Delete(SushiBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|