public Task UpdateAsync(UpdateCustomEntityVersionPageBlockCommand command) { return(ExtendableContentRepository.ExecuteCommandAsync(command)); }
public async Task <IActionResult> Put(int customEntityVersionPageBlockId, [ModelBinder(BinderType = typeof(PageVersionBlockDataModelCommandModelBinder))] UpdateCustomEntityVersionPageBlockCommand command) { command.CustomEntityVersionPageBlockId = customEntityVersionPageBlockId; return(await _apiResponseHelper.RunCommandAsync(this, command)); }