private async Task <HttpResponseMessage> PostSalesChannel(string salesChannelId, string[] locations)
        {
            var command = new SetSalesChannel.Command(salesChannelId, locations);

            return(await _client.PostAsJsonAsync(Urls.SetSalesChannel, command));
        }
Exemplo n.º 2
0
 public async Task <SetSalesChannel.Response> SetSalesChannel(SetSalesChannel.Command command)
 {
     return(await _mediator.Send(command));
 }