public void Execute()
        {
            IDocumentCommandService <CampaignCart> service = new DocumentCommandService <CampaignCart>();
            var total = this.Cart.Items.Sum(x => x.Price);

            this.Cart.Total = total;
            service.InsertAsync(this.Cart);
        }
 public void Execute()
 {
     IDocumentCommandService <T> service = new DocumentCommandService <T>(this.Tenant);
     var result = service.InsertAsync(this.Item).Result;
 }