public async Task <IActionResult> Delete(int customEntityVersionPageBlockId) { var command = new DeleteCustomEntityVersionPageBlockCommand() { CustomEntityVersionPageBlockId = customEntityVersionPageBlockId }; return(await _apiResponseHelper.RunCommandAsync(this, command)); }
public Task DeleteAsync(int customEntityVersionPageBlockId) { var command = new DeleteCustomEntityVersionPageBlockCommand() { CustomEntityVersionPageBlockId = customEntityVersionPageBlockId }; return(ExtendableContentRepository.ExecuteCommandAsync(command)); }
public Task <JsonResult> Delete(int customEntityVersionPageBlockId) { var command = new DeleteCustomEntityVersionPageBlockCommand() { CustomEntityVersionPageBlockId = customEntityVersionPageBlockId }; return(_apiResponseHelper.RunCommandAsync(command)); }