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