12 lines
No EOL
292 B
C#
12 lines
No EOL
292 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace cartservice.interfaces
|
|
{
|
|
internal interface ICartStore
|
|
{
|
|
Task AddItemAsync(string userId, string productId, int quantity);
|
|
Task EmptyCartAsync(string userId);
|
|
|
|
Task<Hipstershop.Cart> GetCartAsync(string userId);
|
|
}
|
|
} |