diff --git a/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj b/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj index 628377e..e2e4bae 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj +++ b/BankYouBankrupt/BankYouBankruptContracts/BankYouBankruptContracts.csproj @@ -6,10 +6,6 @@ enable - - - - diff --git a/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IAccountStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IAccountStorage.cs new file mode 100644 index 0000000..595a803 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IAccountStorage.cs @@ -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 GetFullList(); + + List GetFilteredList(AccountSearchModel model); + + AccountViewModel? GetElement(AccountSearchModel model); + + AccountViewModel? Insert(AccountBindingModel model); + + AccountViewModel? Update(AccountBindingModel model); + + AccountViewModel? Delete(AccountBindingModel model); + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICashWithdrawalStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICashWithdrawalStorage.cs new file mode 100644 index 0000000..8898eca --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICashWithdrawalStorage.cs @@ -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 GetFullList(); + + List GetFilteredList(CashWithdrawalSearchModel model); + + CashWithdrawalViewModel? GetElement(CashWithdrawalSearchModel model); + + CashWithdrawalViewModel? Insert(CashWithdrawalBindingModel model); + + CashWithdrawalViewModel? Update(CashWithdrawalBindingModel model); + + CashWithdrawalViewModel? Delete(CashWithdrawalBindingModel model); + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICashierStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICashierStorage.cs new file mode 100644 index 0000000..7704a58 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICashierStorage.cs @@ -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 GetFullList(); + + List GetFilteredList(CashierSearchModel model); + + CashierViewModel? GetElement(CashierSearchModel model); + + CashierViewModel? Insert(CashierBindingModel model); + + CashierViewModel? Update(CashierBindingModel model); + + CashierViewModel? Delete(CashierBindingModel model); + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IMoneyTransferStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IMoneyTransferStorage.cs new file mode 100644 index 0000000..86b0d76 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IMoneyTransferStorage.cs @@ -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 GetFullList(); + + List GetFilteredList(MoneyTransferSearchModel model); + + MoneyTransferViewModel? GetElement(MoneyTransferSearchModel model); + + MoneyTransferViewModel? Insert(MoneyTransferBindingModel model); + + MoneyTransferViewModel? Update(MoneyTransferBindingModel model); + + MoneyTransferViewModel? Delete(MoneyTransferBindingModel model); + } +}