Example #1
0
        private async Task RemoveDirectoryAsync(int id)
        {
            var directory = await _directoryRepository.GetAsync(id);

            if (directory != null)
            {
                await _directoryRepository.RemoveAsync(directory);
            }
        }