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