There are tow methods to select from table.
I want to create one method to use it for all tables. Can I make this with generic or any way?

enter image description here

New contributor
Ragab Mahmoud is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

put on hold as off-topic by Alex, Rubén, John C, serenesat, ale Aug 14 at 19:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "It is a question about creating/developing a web application." – Alex, Rubén, John C, serenesat, ale
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.