You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query=...from category in await _categoryRepository.GetListAsync()
join posts in await _postRepository.GetListAsync()
on category.Id equals posts.CategoryId
this code snip in your code is very expensive!!!
can change to this:
query=...from category in _categoryRepository
join posts in _postRepository
on category.Id equals posts.CategoryId
await AsyncExecuter.ToListAsync(query);
The text was updated successfully, but these errors were encountered:
query=...from category in await _categoryRepository.GetListAsync()
join posts in await _postRepository.GetListAsync()
on category.Id equals posts.CategoryId
this code snip in your code is very expensive!!!
can change to this:
query=...from category in _categoryRepository
join posts in _postRepository
on category.Id equals posts.CategoryId
await AsyncExecuter.ToListAsync(query);
The text was updated successfully, but these errors were encountered: