Merge branch 'main' of http://student.git.athene.tech/shadowik/CourseWork_BankYouBankrupt
This commit is contained in:
commit
2afb1094ce
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace BankYouBankruptContracts.BindingModels
|
namespace BankYouBankruptContracts.BindingModels
|
||||||
{
|
{
|
||||||
public class MoneyTransfer : IMoneyTransferModel
|
public class MoneyTransferBindingModel : IMoneyTransferModel
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user