26 lines
808 B
C#
26 lines
808 B
C#
using ElectronicsShopContracts.BindingModels;
|
|
using ElectronicsShopContracts.SearchModels;
|
|
using ElectronicsShopContracts.ViewModels;
|
|
using ElectronicsShopDataModels.Enums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Numerics;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ElectronicsShopContracts.BusinessLogicContracts
|
|
{
|
|
public interface IPaymeantLogic
|
|
{
|
|
List<PaymeantViewModel>? ReadList(PaymeantSearchModel model);
|
|
PaymeantViewModel? ReadElement(PaymeantSearchModel model);
|
|
|
|
bool CreatePay(PaymeantBindingModel model);
|
|
bool SetStatus(PaymeantBindingModel model, PaymeantOption paymeantOption);
|
|
|
|
bool SetFullPayment(PaymeantBindingModel model);
|
|
bool SetPartialPayemnt(PaymeantBindingModel model);
|
|
}
|
|
}
|