2023-04-02 16:52:24 +04:00
|
|
|
|
using BankContracts.BindingModels;
|
|
|
|
|
using BankContracts.SearchModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2023-04-06 18:41:33 +04:00
|
|
|
|
using BankContracts.ViewModels;
|
2023-04-02 16:52:24 +04:00
|
|
|
|
|
|
|
|
|
namespace BankContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ICurrencyPurchaseStorage
|
|
|
|
|
{
|
|
|
|
|
List<CurrencyPurchaseViewModel> GetFullList();
|
|
|
|
|
List<CurrencyPurchaseViewModel> GetFilteredList(CurrencyPurchaseSearchModel model);
|
|
|
|
|
CurrencyPurchaseViewModel? GetElement(CurrencyPurchaseSearchModel model);
|
|
|
|
|
CurrencyPurchaseViewModel? Insert(CurrencyPurchaseBindingModel model);
|
|
|
|
|
CurrencyPurchaseViewModel? Update(CurrencyPurchaseBindingModel model);
|
|
|
|
|
CurrencyPurchaseViewModel? Delete(CurrencyPurchaseBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|