thanks Brenden for your reply, im following this document
https://docs.kentico.com/k12/developing-websites/retrieving-content-in-mvc-applications#RetrievingcontentinMVCapplications-Retrievingcustomtabledata
in document he is using provider class to get data, please suggest
thanks