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

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

            command.CustomEntityId = customEntityId;

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

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }