CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/BusinessLogicContracts/IOrderLogic.cs

23 lines
674 B
C#
Raw Normal View History

2024-04-27 13:01:57 +04:00
using ElectronicsShopContracts.BindingModels;
using ElectronicsShopContracts.SearchModels;
using ElectronicsShopContracts.ViewModels;
2024-05-30 23:49:53 +04:00
using ElectronicsShopDataModels.Models;
2024-04-27 13:01:57 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
2024-05-30 23:49:53 +04:00
using System.Numerics;
2024-04-27 13:01:57 +04:00
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);
2024-05-30 23:49:53 +04:00
bool AddProduct(IProductModel product, int count, int orderID);
2024-04-27 13:01:57 +04:00
}
}