I have a quick question. I have a table named categories and i want to list as SelectListItem. So far I tried with this code:
SelectListItem
_context.Categories