2024-03-26 19:41:39 +04:00
|
|
|
|
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 ICookLogic
|
|
|
|
|
{
|
|
|
|
|
List<CookViewModel>? ReadList(CookSearchModel? model);
|
|
|
|
|
CookViewModel? ReadElement(CookSearchModel model);
|
|
|
|
|
|
|
|
|
|
bool Create(CookBindingModel model);
|
|
|
|
|
bool Update(CookBindingModel model);
|
|
|
|
|
bool Delete(CookBindingModel model);
|
2024-05-07 21:53:37 +04:00
|
|
|
|
void ClearEntity();
|
2024-03-26 19:41:39 +04:00
|
|
|
|
}
|
|
|
|
|
}
|