ql_apimanager_backend/Apimanager_backend/Services/IPaymentConfigService.cs

16 lines
611 B
C#

using Apimanager_backend.Models;
namespace Apimanager_backend.Services
{
public interface IPaymentConfigService
{
Task<PaymentConfig> GetPaymentConfigInfoByTypeAsync(string payType);
Task<PaymentConfig> GetPaymentConfigInfoByIdAsync(int id);
Task<PaymentConfig> GetPaymentAdminAsync(PayType payType, PaymentType paymentType);
Task<List<PaymentConfigDto>> GetAllPaymentAsync();
Task<List<PaymentConfig>> GetAllPaymentAdminAsync();
Task<bool> AddPaymentAsync(PaymentConfig payment);
Task<bool> UpdatePaymentAsync(PaymentConfig payment);
}
}