2023-02-12 22:52:23 +04:00
|
|
|
|
using AutomobilePlantContracts.BindingModels;
|
|
|
|
|
using AutomobilePlantContracts.SearchModels;
|
|
|
|
|
using AutomobilePlantContracts.ViewModels;
|
|
|
|
|
using System;
|
2023-02-12 20:41:23 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.StorageContracts
|
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public interface IOrderStorage
|
2023-02-12 20:41:23 +04:00
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
List<OrderViewModel> GetFullList();
|
|
|
|
|
List<OrderViewModel> GetFilteredList(OrderSearchModel model);
|
|
|
|
|
OrderViewModel? GetElement(OrderSearchModel model);
|
|
|
|
|
OrderViewModel? Insert(OrderBindingModel model);
|
|
|
|
|
OrderViewModel? Update(OrderBindingModel model);
|
|
|
|
|
OrderViewModel? Delete(OrderBindingModel model);
|
2023-02-12 20:41:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|