PIbd-23-Lisov-N.A-SewingDre.../DressAtelierContracts/StorageContracts/IOrderStorage.cs

23 lines
692 B
C#

using DressAtelierContracts.BindingModels;
using DressAtelierContracts.SearchModels;
using DressAtelierContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DressAtelierContracts.StorageContracts
{
public interface IOrderStorage
{
List<OrderViewModel>? GetFullList();
List<OrderViewModel> GetFilteredList(OrderSearchModel model);
OrderViewModel? GetElement(OrderSearchModel model);
OrderViewModel? Insert(OrderBindingModel model);
OrderViewModel? Delete(OrderBindingModel model);
OrderViewModel? Update(OrderBindingModel model);
}
}