示例#1
0
        public async void GetBlogWithComments(string id, string type)
        {
            // Console.WriteLine();
            await _blogsRepository.GetDocumentByIdAsync(id, type);

            string query = "SELECT * FROM c WHERE c.BlogId = '" + id + "'";
            await _commentsRepository.QueryItemsAsync(query);
        }
        public async void Get(string id, string type)
        {
            await _blogsRepository.GetDocumentByIdAsync(id, type);

            //  Console.WriteLine();
        }