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 IPaymeantStorage
    {
        List<PaymeantViewModel>? GetFullList();
        List<PaymeantViewModel> GetFillteredList(PaymeantSearchModel model);
        PaymeantViewModel? GetElement(PaymeantSearchModel model);

        PaymeantViewModel? Insert(PaymeantBindingModel model);
        PaymeantViewModel? UpdatePay(PaymeantBindingModel model);
    }
}