21 lines
608 B
C#
21 lines
608 B
C#
using ElectronicsShopContracts.BindingModels;
|
|
using ElectronicsShopContracts.SearchModels;
|
|
using ElectronicsShopContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ElectronicsShopContracts.StorageContracts
|
|
{
|
|
public interface IPaymentStorage
|
|
{
|
|
List<PaymentViewModel>? GetFullList();
|
|
List<PaymentViewModel>? GetFillteredList(PaymentSearchModel model);
|
|
PaymentViewModel? GetElement(PaymentSearchModel model);
|
|
|
|
PaymentViewModel? Insert(PaymentBindingModel model);
|
|
}
|
|
}
|