2023-04-01 09:48:43 +04:00
|
|
|
|
using BankYouBankruptContracts.BindingModels;
|
|
|
|
|
using BankYouBankruptContracts.SearchModels;
|
2023-05-18 17:56:47 +04:00
|
|
|
|
using BankYouBankruptContracts.ViewModels.Client.Default;
|
2023-04-01 09:48:43 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BankYouBankruptContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ICardStorage
|
|
|
|
|
{
|
|
|
|
|
List<CardViewModel> GetFullList();
|
|
|
|
|
|
|
|
|
|
List<CardViewModel> GetFilteredList(CardSearchModel model);
|
|
|
|
|
|
|
|
|
|
CardViewModel? GetElement(CardSearchModel model);
|
|
|
|
|
|
|
|
|
|
CardViewModel? Insert(CardBindingModel model);
|
|
|
|
|
|
|
|
|
|
CardViewModel? Update(CardBindingModel model);
|
|
|
|
|
|
|
|
|
|
CardViewModel? Delete(CardBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|