This commit is contained in:
Tizian.Breuch
2025-09-25 16:15:00 +02:00
parent aaec80d7ad
commit d4dae319f3
3 changed files with 77 additions and 57 deletions

View File

@@ -1,12 +1,13 @@
// src/Webshop.Application/Services/Customers/Interfaces/ICheckoutService.cs
using System;
using System.Threading.Tasks;
using Webshop.Application;
using Webshop.Application.DTOs.Orders;
namespace Webshop.Application.Services.Customers.Interfaces
{
public interface ICheckoutService
{
Task<(bool Success, OrderDetailDto? CreatedOrder, string? ErrorMessage)> CreateOrderAsync(CreateOrderDto orderDto, string userId);
Task<ServiceResult<OrderDetailDto>> CreateOrderAsync(CreateOrderDto orderDto, string? userId);
}
}