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/ICardStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICardStorage.cs new file mode 100644 index 0000000..1d53ad5 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICardStorage.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 ICardStorage + { + List GetFullList(); + + List GetFilteredList(CardSearchModel model); + + CardViewModel? GetElement(CardSearchModel model); + + CardViewModel? Insert(CardBindingModel model); + + CardViewModel? Update(CardBindingModel model); + + CardViewModel? Delete(CardBindingModel model); + } +} \ No newline at end of file diff --git a/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IClientStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IClientStorage.cs new file mode 100644 index 0000000..3b2083a --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IClientStorage.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 IClientStorage + { + List GetFullList(); + + List GetFilteredList(ClientSearchModel model); + + ClientViewModel? GetElement(ClientSearchModel model); + + ClientViewModel? Insert(ClientBindingModel model); + + ClientViewModel? Update(ClientBindingModel model); + + ClientViewModel? Delete(ClientBindingModel model); + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICreditingStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICreditingStorage.cs new file mode 100644 index 0000000..bd7cea9 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/ICreditingStorage.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 IDebitingStorage + { + List GetFullList(); + + List GetFilteredList(DebitingSearchModel model); + + DebitingViewModel? GetElement(DebitingSearchModel model); + + DebitingViewModel? Insert(DebitingBindingModel model); + + DebitingViewModel? Update(DebitingBindingModel model); + + DebitingViewModel? Delete(DebitingBindingModel model); + } +} \ No newline at end of file diff --git a/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IDebitingStorage.cs b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IDebitingStorage.cs new file mode 100644 index 0000000..306b8a4 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/StoragesContracts/IDebitingStorage.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 ICreditingStorage + { + List GetFullList(); + + List GetFilteredList(CreditingSearchModel model); + + CreditingViewModel? GetElement(CreditingSearchModel model); + + CreditingViewModel? Insert(CreditingBindingModel model); + + CreditingViewModel? Update(CreditingBindingModel model); + + CreditingViewModel? Delete(CreditingBindingModel model); + } +} \ No newline at end of file