ClientStoragesContracts
This commit is contained in:
parent
0a5becfb32
commit
37f5586e4b
@ -6,10 +6,6 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="StoragesContracts\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\BankYouBankruptDataModels\BankYouBankruptDataModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
@ -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<CardViewModel> GetFullList();
|
||||
|
||||
List<CardViewModel> GetFilteredList(CardSearchModel model);
|
||||
|
||||
CardViewModel? GetElement(CardSearchModel model);
|
||||
|
||||
CardViewModel? Insert(CardBindingModel model);
|
||||
|
||||
CardViewModel? Update(CardBindingModel model);
|
||||
|
||||
CardViewModel? Delete(CardBindingModel 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 IClientStorage
|
||||
{
|
||||
List<ClientViewModel> GetFullList();
|
||||
|
||||
List<ClientViewModel> GetFilteredList(ClientSearchModel model);
|
||||
|
||||
ClientViewModel? GetElement(ClientSearchModel model);
|
||||
|
||||
ClientViewModel? Insert(ClientBindingModel model);
|
||||
|
||||
ClientViewModel? Update(ClientBindingModel model);
|
||||
|
||||
ClientViewModel? Delete(ClientBindingModel 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 IDebitingStorage
|
||||
{
|
||||
List<DebitingViewModel> GetFullList();
|
||||
|
||||
List<DebitingViewModel> GetFilteredList(DebitingSearchModel model);
|
||||
|
||||
DebitingViewModel? GetElement(DebitingSearchModel model);
|
||||
|
||||
DebitingViewModel? Insert(DebitingBindingModel model);
|
||||
|
||||
DebitingViewModel? Update(DebitingBindingModel model);
|
||||
|
||||
DebitingViewModel? Delete(DebitingBindingModel 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 ICreditingStorage
|
||||
{
|
||||
List<CreditingViewModel> GetFullList();
|
||||
|
||||
List<CreditingViewModel> GetFilteredList(CreditingSearchModel model);
|
||||
|
||||
CreditingViewModel? GetElement(CreditingSearchModel model);
|
||||
|
||||
CreditingViewModel? Insert(CreditingBindingModel model);
|
||||
|
||||
CreditingViewModel? Update(CreditingBindingModel model);
|
||||
|
||||
CreditingViewModel? Delete(CreditingBindingModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user