2024-07-23 21:32:13 +04:00
|
|
|
|
|
2024-07-24 13:22:05 +04:00
|
|
|
|
using BeautySalonContracts.BindingModels;
|
2024-07-24 21:04:21 +03:00
|
|
|
|
using BeautySalonContracts.SearchModels;
|
2024-07-24 13:22:05 +04:00
|
|
|
|
using BeautySalonContracts.ViewModels;
|
|
|
|
|
|
2024-07-23 21:32:13 +04:00
|
|
|
|
|
|
|
|
|
namespace BeautySalonContracts.StorageContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ICosmeticStorage
|
|
|
|
|
{
|
2024-07-24 13:22:05 +04:00
|
|
|
|
List<CosmeticViewModel> GetFullList();
|
2024-07-24 21:04:21 +03:00
|
|
|
|
List<CosmeticViewModel> GetFilteredList(CosmeticSearchModel model);
|
|
|
|
|
CosmeticViewModel? GetElement(CosmeticSearchModel model);
|
|
|
|
|
CosmeticViewModel? Insert(CosmeticBindingModel model);
|
|
|
|
|
CosmeticViewModel? Update(CosmeticBindingModel model);
|
|
|
|
|
CosmeticViewModel? Deleted(CosmeticBindingModel model);
|
2024-07-23 21:32:13 +04:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|