Beispiel #1
0
        public async Task<IActionResult> Delete(int customEntityId)
        {
            var command = new DeleteCustomEntityCommand();
            command.CustomEntityId = customEntityId;

            return await _apiResponseHelper.RunCommandAsync(this, command);
        }
Beispiel #2
0
        public Task <JsonResult> Delete(int customEntityId)
        {
            var command = new DeleteCustomEntityCommand();

            command.CustomEntityId = customEntityId;

            return(_apiResponseHelper.RunCommandAsync(command));
        }
Beispiel #3
0
        public Task DeleteAsync(int customEntityId)
        {
            var command = new DeleteCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }