File: Repositories\IBasketRepository.cs
Web Access
Project: src\playground\TestShop\BasketService\BasketService.csproj (BasketService)
using BasketService.Models;
 
namespace BasketService.Repositories;
 
public interface IBasketRepository
{
    Task<CustomerBasket?> GetBasketAsync(string customerId);
    IEnumerable<string> GetUsers();
    Task<CustomerBasket?> UpdateBasketAsync(CustomerBasket basket);
    Task<bool> DeleteBasketAsync(string id);
}