22 lines
707 B
C#
22 lines
707 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|