26 lines
710 B
C#
26 lines
710 B
C#
using BankYouBankruptContracts.BindingModels;
|
|
using BankYouBankruptContracts.SearchModels;
|
|
using BankYouBankruptContracts.ViewModels.Client.Default;
|
|
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);
|
|
}
|
|
} |