2023-04-02 16:52:24 +04:00
|
|
|
|
using BankContracts.BindingModels;
|
|
|
|
|
using BankContracts.SearchModels;
|
|
|
|
|
using BankContracts.ViewModels;
|
|
|
|
|
using System;
|
2023-04-01 22:37:52 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BankContracts.StoragesContracts
|
|
|
|
|
{
|
2023-04-02 16:52:24 +04:00
|
|
|
|
public interface ICurrencyStorage
|
2023-04-01 22:37:52 +04:00
|
|
|
|
{
|
2023-04-02 16:52:24 +04:00
|
|
|
|
List<CurrencyViewModel> GetFullList();
|
|
|
|
|
List<CurrencyViewModel> GetFilteredList(CurrencySearchModel model);
|
|
|
|
|
CurrencyViewModel? GetElement(CurrencySearchModel model);
|
|
|
|
|
CurrencyViewModel? Insert(CurrencyBindingModel model);
|
|
|
|
|
CurrencyViewModel? Update(CurrencyBindingModel model);
|
|
|
|
|
CurrencyViewModel? Delete(CurrencyBindingModel model);
|
2023-04-01 22:37:52 +04:00
|
|
|
|
}
|
|
|
|
|
}
|