CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/BusinessLogicContracts/IOrderLogic.cs

27 lines
746 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-31 16:05:43 +04:00
bool Update(OrderBindingModel model);
2024-06-01 00:42:46 +04:00
bool Delete(OrderBindingModel model);
bool DeleteProduct(OrderBindingModel model);
}
2024-04-27 13:01:57 +04:00
}