SUBD_SushiBar/SushiBar/SushiBarContracts/BusinessLogicContracts/ICookLogic.cs

23 lines
618 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 ICookLogic
{
List<CookViewModel>? ReadList(CookSearchModel? model);
CookViewModel? ReadElement(CookSearchModel model);
bool Create(CookBindingModel model);
bool Update(CookBindingModel model);
bool Delete(CookBindingModel model);
void ClearEntity();
}
}