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