2024-04-28 21:34:43 +04:00
|
|
|
|
using BankContracts.BindingModels;
|
|
|
|
|
using BankContracts.SearchModels;
|
|
|
|
|
using BankContracts.ViewModels;
|
2024-04-28 20:20:37 +04:00
|
|
|
|
|
|
|
|
|
namespace BankContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
public interface IPaymentLogic
|
2024-04-28 20:20:37 +04:00
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
List<PaymentViewModel> ReadList(PaymentSearchModel model);
|
|
|
|
|
PaymentViewModel ReadElement(PaymentSearchModel model);
|
|
|
|
|
bool Create(PaymentBindingModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение полной и оплаченной стоимости в бизнес логике, по обследованию и талону
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool GetPaymentInfo(PaymentSearchModel model, out double fullPrice, out double paidPrice);
|
2024-04-28 20:20:37 +04:00
|
|
|
|
}
|
2024-04-28 21:34:43 +04:00
|
|
|
|
}
|