Merge branch 'main' of http://student.git.athene.tech/shadowik/CourseWork_BankYouBankrupt
This commit is contained in:
commit
75e20bdeea
@ -0,0 +1,26 @@
|
|||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
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 ICashierStorage
|
||||||
|
{
|
||||||
|
List<CashierViewModel> GetFullList();
|
||||||
|
|
||||||
|
List<CashierViewModel> GetFilteredList(CashierSearchModel model);
|
||||||
|
|
||||||
|
CashierViewModel? GetElement(CashierSearchModel model);
|
||||||
|
|
||||||
|
CashierViewModel? Insert(CashierBindingModel model);
|
||||||
|
|
||||||
|
CashierViewModel? Update(CashierBindingModel model);
|
||||||
|
|
||||||
|
CashierViewModel? Delete(CashierBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
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 IMoneyTransferStorage
|
||||||
|
{
|
||||||
|
List<MoneyTransferViewModel> GetFullList();
|
||||||
|
|
||||||
|
List<MoneyTransferViewModel> GetFilteredList(MoneyTransferSearchModel model);
|
||||||
|
|
||||||
|
MoneyTransferViewModel? GetElement(MoneyTransferSearchModel model);
|
||||||
|
|
||||||
|
MoneyTransferViewModel? Insert(MoneyTransferBindingModel model);
|
||||||
|
|
||||||
|
MoneyTransferViewModel? Update(MoneyTransferBindingModel model);
|
||||||
|
|
||||||
|
MoneyTransferViewModel? Delete(MoneyTransferBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user