public async Task Add(string userId, [FromBody] CartRequest request) { IUserActor actor = GetActor(userId); await actor.AddToCart(request.ProductId, request.Quantity); }
public async Task Add(string userId, [FromBody] CartRequest request) { IUserActor actor = GetActor(userId); await actor.AddToCart(request.ProductId, request.Quantity); }