2024-04-27 13:01:57 +04:00
|
|
|
|
using ElectronicsShopContracts.BindingModels;
|
|
|
|
|
using ElectronicsShopContracts.SearchModels;
|
|
|
|
|
using ElectronicsShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-05-19 16:01:45 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|