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