using System;
using System.Threading.Tasks;
using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate;

namespace Microsoft.eShopWeb.ApplicationCore.Interfaces;

public interface IOrderService
{
    Task<Order> CreateOrderAsync(int basketId, Address shippingAddress);
}


public interface IOrderServiceValue
{
    Task<Order> CreateOrderAsync(int basketId, Address shippingAddress, DateTimeOffset orderDate);
}
