Files
2025-09-25 14:17:42 +02:00

18 lines
718 B
C#

// src/Webshop.Application/Services/Admin/IAdminPaymentMethodService.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application;
using Webshop.Application.DTOs.Payments;
namespace Webshop.Application.Services.Admin
{
public interface IAdminPaymentMethodService
{
Task<ServiceResult<IEnumerable<AdminPaymentMethodDto>>> GetAllAsync();
Task<ServiceResult<AdminPaymentMethodDto>> GetByIdAsync(Guid id);
Task<ServiceResult<AdminPaymentMethodDto>> CreateAsync(AdminPaymentMethodDto paymentMethodDto);
Task<ServiceResult> UpdateAsync(AdminPaymentMethodDto paymentMethodDto);
Task<ServiceResult> DeleteAsync(Guid id);
}
}