Добавление StoragesContracts для кассира.
This commit is contained in:
parent
674bd20372
commit
6d3437d81a
@ -6,10 +6,6 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="StoragesContracts\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\BankYouBankruptDataModels\BankYouBankruptDataModels.csproj" />
|
<ProjectReference Include="..\BankYouBankruptDataModels\BankYouBankruptDataModels.csproj" />
|
||||||
</ItemGroup>
|
</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 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…
Reference in New Issue
Block a user