SUBD_PIbd-21_Balberova_D.N./BeautySaloon/BeautySaloonContracts/StoragesContracts/IOrderStorage.cs

17 lines
575 B
C#
Raw Permalink Normal View History

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);
}
}