CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/StorageContracts/IOrderStorage.cs

22 lines
707 B
C#
Raw Normal View History

2024-04-28 20:59:10 +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.StorageContracts
{
public interface IOrderStorage
{
List<OrderViewModel> GetFullList();
List<OrderViewModel> GetFilteredList(ClientSearchModel model);
OrderViewModel? GetElement(ClientSearchModel model);
OrderViewModel? Insert(ClientBindingModel model);
OrderViewModel? Update(ClientBindingModel model);
OrderViewModel? Delete(ClientBindingModel model);
}
}