public async Task <IActionResult> Publish(int customEntityId) { var command = new PublishCustomEntityCommand() { CustomEntityId = customEntityId }; return(await _apiResponseHelper.RunCommandAsync(this, command)); }
public Task <JsonResult> Publish(int customEntityId) { var command = new PublishCustomEntityCommand() { CustomEntityId = customEntityId }; return(_apiResponseHelper.RunCommandAsync(command)); }
public Task PublishAsync(PublishCustomEntityCommand command) { return(ExtendableContentRepository.ExecuteCommandAsync(command)); }