SUBD/Sushi/SushiContracts/BusinessLogicContracts/ISushiLogic.cs

16 lines
470 B
C#

using SushiContracts.BindingModels;
using SushiContracts.SearchModels;
using SushiContracts.ViewModels;
namespace SushiContracts.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);
}
}