PIbd-31_PotapovNS_COP_20/InternetShop/InternetShopContracts/LogicContracts/IOrderLogic.cs

16 lines
508 B
C#

using InternetShopContracts.DataBindingModels;
using InternetShopContracts.DataSearchModels;
using InternetShopContracts.DataViewModels;
namespace InternetShopContracts.LogicsContracts
{
public interface IOrderLogic
{
List<OrderViewModel> ReadList(OrderSearchModel? model = null);
OrderViewModel? ReadElement(OrderSearchModel model);
bool Create(OrderBindingModel model);
bool Update(OrderBindingModel model);
bool Delete(OrderBindingModel model);
}
}