AdminShippingMethod

This commit is contained in:
Tizian.Breuch
2025-09-25 14:45:30 +02:00
parent f5543d35b4
commit 8f222ef4aa
3 changed files with 123 additions and 54 deletions

View File

@@ -2,16 +2,17 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs.Shipping; // Für ShippingMethodDto
using Webshop.Application;
using Webshop.Application.DTOs.Shipping;
namespace Webshop.Application.Services.Admin
{
public interface IAdminShippingMethodService
{
Task<IEnumerable<ShippingMethodDto>> GetAllAsync();
Task<ShippingMethodDto?> GetByIdAsync(Guid id);
Task<ShippingMethodDto> CreateAsync(ShippingMethodDto shippingMethodDto);
Task<bool> UpdateAsync(ShippingMethodDto shippingMethodDto);
Task<bool> DeleteAsync(Guid id);
Task<ServiceResult<IEnumerable<ShippingMethodDto>>> GetAllAsync();
Task<ServiceResult<ShippingMethodDto>> GetByIdAsync(Guid id);
Task<ServiceResult<ShippingMethodDto>> CreateAsync(ShippingMethodDto shippingMethodDto);
Task<ServiceResult> UpdateAsync(ShippingMethodDto shippingMethodDto);
Task<ServiceResult> DeleteAsync(Guid id);
}
}