public async Task <int> GetTotalRecordCountAsync() { int num = 0; if (Categories != null) { num += await Categories.CountAsync(); } if (Manufacturers != null) { num += await Manufacturers.CountAsync(); } if (Topics != null) { num += await Topics.CountAsync(); } if (Products != null) { num += await Products.CountAsync(); } //if (Products != null) num += 200000; return(num); }