This commit is contained in:
shadowik 2023-04-01 09:48:48 +04:00
commit 2afb1094ce
5 changed files with 97 additions and 1 deletions

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
public class MoneyTransfer : IMoneyTransferModel
public class MoneyTransferBindingModel : IMoneyTransferModel
{
public int Id { get; set; }

View File

@ -0,0 +1,24 @@
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.BusinessLogicsContracts
{
public interface IAccountLogic
{
List<AccountViewModel>? ReadList(AccountSearchModel? model);
AccountViewModel? ReadElement(AccountSearchModel model);
bool Create(AccountBindingModel model);
bool Update(AccountBindingModel model);
bool Delete(AccountBindingModel model);
}
}

View File

@ -0,0 +1,24 @@
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.BusinessLogicsContracts
{
public interface ICashWithdrawalLogic
{
List<CashWithdrawalViewModel>? ReadList(CashWithdrawalSearchModel? model);
CashWithdrawalViewModel? ReadElement(CashWithdrawalSearchModel model);
bool Create(CashWithdrawalBindingModel model);
bool Update(CashWithdrawalBindingModel model);
bool Delete(CashWithdrawalBindingModel model);
}
}

View File

@ -0,0 +1,24 @@
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.BusinessLogicsContracts
{
public interface ICashierLogic
{
List<CashierViewModel>? ReadList(CashierSearchModel? model);
CashierViewModel? ReadElement(CashierSearchModel model);
bool Create(CashierBindingModel model);
bool Update(CashierBindingModel model);
bool Delete(CashierBindingModel model);
}
}

View File

@ -0,0 +1,24 @@
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.BusinessLogicsContracts
{
public interface IMoneyTransferLogic
{
List<MoneyTransferViewModel>? ReadList(MoneyTransferSearchModel? model);
MoneyTransferViewModel? ReadElement(MoneyTransferSearchModel model);
bool Create(MoneyTransferBindingModel model);
bool Update(MoneyTransferBindingModel model);
bool Delete(MoneyTransferBindingModel model);
}
}