CourseWork_Bank/Bank/BankContracts/BusinessLogicContracts/IPaymentLogic.cs

18 lines
689 B
C#
Raw Permalink Normal View History

2024-04-28 21:34:43 +04:00
using BankContracts.BindingModels;
using BankContracts.SearchModels;
using BankContracts.ViewModels;
namespace BankContracts.BusinessLogicContracts
{
2024-04-28 21:34:43 +04:00
public interface IPaymentLogic
{
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 21:34:43 +04:00
}