How to get counts? #11
Answered
by
shihabmridha
rohit-chhabra
asked this question in
Q&A
-
Good pattern... really appreciate sharing this... How do you recommend finding the count of collections in a repository. It seems that would be needed to find how many total pages would be needed on the UI to show page numbers. Do you recommend a generic method in the repository base class to support it? |
Beta Was this translation helpful? Give feedback.
Answered by
shihabmridha
Feb 17, 2022
Replies: 1 comment
-
Yes, I would put it in the base repository class. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
shihabmridha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, I would put it in the base repository class.