Files
ShopSolution-backend/Webshop.Application/Services/Customers/Interfaces/IOrderService.cs
Tizian.Breuch 3858375b66 order
2025-07-31 16:37:35 +02:00

15 lines
575 B
C#

// src/Webshop.Application/Services/Customers/IOrderService.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs.Orders;
namespace Webshop.Application.Services.Customers
{
public interface IOrderService
{
Task<(bool Success, OrderDetailDto? CreatedOrder, string? ErrorMessage)> CreateOrderAsync(CreateOrderDto orderDto, string userId);
Task<IEnumerable<OrderSummaryDto>> GetMyOrdersAsync(string userId);
Task<OrderDetailDto?> GetMyOrderByIdAsync(Guid orderId, string userId);
}
}