22 lines
573 B
C#
22 lines
573 B
C#
using BankContracts.BindingModels.Cashier;
|
|
using BankContracts.SearchModels.Cashier;
|
|
using BankContracts.ViewModels.Cashier.ViewModels;
|
|
|
|
namespace BankContracts.StoragesContracts.Cashier
|
|
{
|
|
public interface IAccountStorage
|
|
{
|
|
List<AccountViewModel> GetFullList();
|
|
|
|
List<AccountViewModel> GetFilteredList(AccountSearchModel model);
|
|
|
|
AccountViewModel? GetElement(AccountSearchModel model);
|
|
|
|
AccountViewModel? Insert(AccountBindingModel model);
|
|
|
|
AccountViewModel? Update(AccountBindingModel model);
|
|
|
|
AccountViewModel? Delete(AccountBindingModel model);
|
|
}
|
|
}
|