CourseWork_Bank/Bank/BankContracts/StoragesContracts/IPaymentStorage.cs

14 lines
444 B
C#
Raw Normal View History

2024-04-28 21:34:43 +04:00
using BankContracts.BindingModels;
using BankContracts.SearchModels;
using BankContracts.ViewModels;
namespace BankContracts.StoragesContracts
{
2024-04-28 21:34:43 +04:00
public interface IPaymentStorage
{
2024-04-28 21:34:43 +04:00
List<PaymentViewModel> GetFullList();
List<PaymentViewModel> GetFilteredList(PaymentSearchModel model);
PaymentViewModel? GetElement(PaymentSearchModel model);
PaymentViewModel? Insert(PaymentBindingModel model);
}
2024-04-28 21:34:43 +04:00
}