PIbd-21_KozyrevSS_SewingDre.../SewingDresses/SewingDressesContracts/StoragesContracts/IDressStorage.cs

17 lines
579 B
C#
Raw Normal View History

2024-02-20 16:32:44 +04:00
using SewingDressesContracts.BindingModels;
using SewingDressesContracts.SearchModels;
using SewingDressesContracts.ViewModels;
namespace SewingDressesContracts.StoragesContracts
{
public interface IDressStorage
{
List<DressViewModel> GetFullList();
List<DressViewModel> GetFilteredList(DressSearchModel model);
DressViewModel? GetElement(DressSearchModel model);
DressViewModel? Insert(DressBindingModel model);
DressViewModel? Update(DressBindingModel model);
DressViewModel? Delete(DressBindingModel model);
}
}