2023-04-06 18:35:37 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using FurnitureContracts.BindingModels;
|
2023-04-05 22:59:20 +04:00
|
|
|
|
using FurnitureContracts.SearchModels;
|
|
|
|
|
using FurnitureContracts.ViewModel;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
2023-04-06 18:35:37 +04:00
|
|
|
|
public interface IOrderLogic
|
2023-04-05 22:59:20 +04:00
|
|
|
|
{
|
2023-04-06 18:35:37 +04:00
|
|
|
|
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
|
OrdersViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
bool Create(OrdersBindingModel model);
|
|
|
|
|
bool Update(OrdersBindingModel model);
|
|
|
|
|
bool Delete(OrdersBindingModel model);
|
2023-04-05 22:59:20 +04:00
|
|
|
|
}
|
|
|
|
|
}
|