CourseWork_BankYouBankrupt/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICashWithdrawalStorage.cs

27 lines
771 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 ICashWithdrawalStorage
{
List<CashWithdrawalViewModel> GetFullList();
List<CashWithdrawalViewModel> GetFilteredList(CashWithdrawalSearchModel model);
CashWithdrawalViewModel? GetElement(CashWithdrawalSearchModel model);
CashWithdrawalViewModel? Insert(CashWithdrawalBindingModel model);
CashWithdrawalViewModel? Update(CashWithdrawalBindingModel model);
CashWithdrawalViewModel? Delete(CashWithdrawalBindingModel model);
}
}