PIbd-23_Bogdanov_D.S._Compu.../ComputerShopContracts/BusinessLogicsContracts/IOrderLogic.cs

22 lines
686 B
C#
Raw Normal View History

2023-01-29 18:03:10 +04:00
using ComputerShopContracts.BindingModels;
using ComputerShopContracts.SearchModels;
using ComputerShopContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopContracts.BusinessLogicsContracts
{
2023-02-12 15:03:53 +04:00
public interface IOrderLogic
2023-01-29 18:03:10 +04:00
{
List<OrderViewModel>? ReadList(OrderSearchModel? model);
bool CreateOrder(OrderBindingModel model);
2023-04-19 15:46:04 +04:00
OrderViewModel? ReadElement(OrderSearchModel model);
2023-01-29 18:03:10 +04:00
bool TakeOrderInWork(OrderBindingModel model);
bool FinishOrder(OrderBindingModel model);
bool DeliveryOrder(OrderBindingModel model);
}
}