SUBD/Sushi/SushiContracts/BusinessLogicContracts/IOrderLogic.cs

17 lines
471 B
C#

using SushiContracts.BindingModels;
using SushiContracts.SearchModels;
using SushiContracts.ViewModels;
namespace SushiContracts.BusinessLogicsContracts
{
public interface IOrderLogic
{
List<OrderViewModel>? ReadList(OrderSearchModel? model);
OrderViewModel? ReadElement(OrderSearchModel model);
bool Create(OrderBindingModel model);
bool Update(OrderBindingModel model);
bool Delete(OrderBindingModel model);
}
}