checkout
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user