Example #1
0
        public async Task BatchDelete(List <long> input)
        {
            // TODO:批量删除前的逻辑判断,是否允许删除
            await _bookManager.BatchDelete(input);

            await _bookAndTagRepository.DeleteAsync(a => input.Contains(a.BookId));
        }