12 lines
413 B
C#
12 lines
413 B
C#
// src/Webshop.Application/Services/Customers/Interfaces/ICheckoutService.cs
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
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);
|
|
}
|
|
} |