2024-06-11 12:18:10 +04:00
|
|
|
|
using Contracts.BindingModels;
|
|
|
|
|
using Contracts.SearchModels;
|
2024-06-24 01:07:53 +04:00
|
|
|
|
using Contracts.ViewModels;
|
2024-06-11 12:18:10 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.StorageContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IPurchaseStorage
|
|
|
|
|
{
|
2024-06-24 01:07:53 +04:00
|
|
|
|
PurchaseViewModel? Insert(PurchaseBindingModel model);
|
2024-06-11 12:18:10 +04:00
|
|
|
|
|
2024-06-24 01:07:53 +04:00
|
|
|
|
List<PurchaseViewModel> GetFullList(PurchaseSearchModel? model);
|
|
|
|
|
List<PurchaseViewModel> GetFilteredList(PurchaseSearchModel? model);
|
2024-06-11 12:18:10 +04:00
|
|
|
|
|
2024-06-24 01:07:53 +04:00
|
|
|
|
PurchaseViewModel? GetElement(PurchaseSearchModel model);
|
2024-06-11 12:18:10 +04:00
|
|
|
|
|
2024-06-24 01:07:53 +04:00
|
|
|
|
PurchaseViewModel? Update(PurchaseBindingModel model);
|
2024-06-11 12:18:10 +04:00
|
|
|
|
|
2024-06-24 01:07:53 +04:00
|
|
|
|
PurchaseViewModel? Delete(PurchaseSearchModel model);
|
2024-06-11 12:18:10 +04:00
|
|
|
|
}
|
|
|
|
|
}
|