Beispiel #1
0
        public async Task Add(string userId, [FromBody] ApiBasketAddRequest request)
        {
            IUserActor actor = GetActor(userId);

            await actor.AddToBasketAsync(request.ProductId, request.Quantity);
        }