public async Task <IActionResult> Publish(int customEntityId)
        {
            var command = new PublishCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(await _apiResponseHelper.RunCommandAsync(this, command));
        }
Exemplo n.º 2
0
        public Task <JsonResult> Publish(int customEntityId)
        {
            var command = new PublishCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(_apiResponseHelper.RunCommandAsync(command));
        }
Exemplo n.º 3
0
 public Task PublishAsync(PublishCustomEntityCommand command)
 {
     return(ExtendableContentRepository.ExecuteCommandAsync(command));
 }