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
|
|
|
|
|
{
|
2024-07-24 13:22:05 +04:00
|
|
|
|
public interface IPurchaseStorage
|
2024-07-23 21:32:13 +04:00
|
|
|
|
{
|
2024-07-24 13:22:05 +04:00
|
|
|
|
List<PurchaseViewModel> GetFullList();
|
2024-07-24 21:04:21 +03:00
|
|
|
|
List<PurchaseViewModel> GetFilteredList(PurchaseSearchModel model);
|
|
|
|
|
PurchaseViewModel GetElement(PurchaseSearchModel model);
|
2024-07-24 13:22:05 +04:00
|
|
|
|
PurchaseViewModel Insert(PurchaseBindingModel model);
|
|
|
|
|
PurchaseViewModel Update(PurchaseBindingModel model);
|
|
|
|
|
PurchaseViewModel Deleted(PurchaseBindingModel model);
|
2024-07-23 21:32:13 +04:00
|
|
|
|
}
|
|
|
|
|
}
|