ISEbd-22_CourseWork_University/University/UniversityContracts/BusinessLogicContracts/IPaymentLogic.cs
2024-04-29 16:23:33 +04:00

21 lines
751 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UniversityContracts.BindingModels;
namespace UniversityContracts.BusinessLogicContracts
{
public interface IPaymentLogic
{
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);
}
}