27 lines
687 B
C#
27 lines
687 B
C#
using BankYouBankruptContracts.BindingModels;
|
|
using BankYouBankruptContracts.SearchModels;
|
|
using BankYouBankruptContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BankYouBankruptContracts.StoragesContracts
|
|
{
|
|
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);
|
|
}
|
|
}
|