2024-05-19 18:43:00 +04:00
|
|
|
|
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
|
|
|
|
|
{
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public interface IPaymentStorage
|
2024-05-19 18:43:00 +04:00
|
|
|
|
{
|
2024-05-22 23:00:35 +04:00
|
|
|
|
List<PaymentViewModel> GetFullList();
|
|
|
|
|
PaymentViewModel? GetElement(PaymentSearchModel model);
|
|
|
|
|
PaymentViewModel? Insert(PaymentBindingModel model);
|
2024-05-19 18:43:00 +04:00
|
|
|
|
}
|
|
|
|
|
}
|