2023-03-28 17:32:55 +04:00
|
|
|
|
using BeautySaloonContracts.BindingModels;
|
|
|
|
|
using BeautySaloonContracts.SearchModels;
|
|
|
|
|
using BeautySaloonContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace BeautySaloonContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderStorage
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel> GetFullList();
|
|
|
|
|
List<OrderViewModel> GetFilteredList(OrderSearchModel model);
|
|
|
|
|
OrderViewModel? GetElement(OrderSearchModel model);
|
|
|
|
|
OrderViewModel? Insert(OrderBindingModel model);
|
2023-03-29 20:00:53 +04:00
|
|
|
|
OrderViewModel? Update(OrderBindingModel model);
|
2023-03-28 17:32:55 +04:00
|
|
|
|
OrderViewModel? Delete(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|