15 lines
492 B
C#
15 lines
492 B
C#
// src/Webshop.Application/Services/Customers/IOrderService.cs
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Webshop.Application;
|
|
using Webshop.Application.DTOs.Orders;
|
|
|
|
namespace Webshop.Application.Services.Customers
|
|
{
|
|
public interface IOrderService
|
|
{
|
|
Task<ServiceResult<IEnumerable<OrderSummaryDto>>> GetMyOrdersAsync(string userId);
|
|
Task<ServiceResult<OrderDetailDto>> GetMyOrderByIdAsync(Guid orderId, string userId);
|
|
}
|
|
} |