public async Task Delete(EntityDto <Guid> input) { var postId = input.Id; var post = await _postRepository.GetAsync(postId); var tags = await GetTagsOfPost(postId); await _tagManager.DecreaseUsageCountOfTagsAsync(tags.Select(t => t.Id).ToList()); await _commentManager.DeleteCommentsOfPost(postId); await _postManager.DeleteAsync(input.Id); }