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

            return(await _apiResponseHelper.RunCommandAsync(this, command));
        }
        public Task <JsonResult> UnPublish(int customEntityId)
        {
            var command = new UnPublishCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(_apiResponseHelper.RunCommandAsync(command));
        }
Beispiel #3
0
 public Task UnPublishAsync(UnPublishCustomEntityCommand command)
 {
     return(ExtendableContentRepository.ExecuteCommandAsync(command));
 }