2024-05-24 12:23:50 +04:00
|
|
|
|
using FurnitureAssemblyContracts.BindingModels;
|
|
|
|
|
using FurnitureAssemblyContracts.SearchModels;
|
|
|
|
|
using FurnitureAssemblyContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureAssemblyContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
// Бизнес-логика заказов
|
2024-05-24 13:05:47 +04:00
|
|
|
|
public interface IAdLogic
|
2024-05-24 12:23:50 +04:00
|
|
|
|
{
|
2024-05-24 13:05:47 +04:00
|
|
|
|
List<AdViewModel>? ReadList(AdSearchModel? model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
bool CreateOrder(AdBindingModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
bool TakeOrderInWork(AdBindingModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
bool FinishOrder(AdBindingModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
bool DeliveryOrder(AdBindingModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
}
|
|
|
|
|
}
|