18 lines
689 B
C#
Raw Normal View History

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