public async Task Test() { var blogs = await _blogSvc.GetItemsList(new QuerySpec <Blog>() { Filter = new QueryFilterBase <Blog>(x => x.Author.Name.StartsWith("Ni")), Paging = new QueryPaging(20, 0), Join = new QueryJoinBase <Blog>( src => src .Include(x => x.Author) .Include(x => x.BlogPosts) ) }); var count = await _blogSvc.GetItemsCount(new QueryFilterBase <Blog>()); await _blogSvc.AddAndSave(new Blog() { Id = 20000, UserId = 3, CreateDate = DateTime.Now, Name = "new blog" }); var count2 = await _blogSvc.GetItemsCount(new QueryFilterBase <Blog>()); return; }