public async Task <IActionResult> Update(string appId, string id, [FromBody] SaveContentItemCommand contentItemCommand)
        {
            contentItemCommand.AppId = appId;
            contentItemCommand.Id    = id;
            var result = await _dispatcher.ExecuteCommand(contentItemCommand);

            return(this.HandleUpdateCommandResult(result));
        }
        public async Task <IActionResult> Create(string appId, [FromBody] SaveContentItemCommand contentItemCommand)
        {
            contentItemCommand.AppId = appId;
            var result = await _dispatcher.ExecuteCommand(contentItemCommand);

            var id = (result.ResultData as ContentItem)?.Id;

            return(this.HandleCreateCommandResult(result, id, result.ResultData));
        }