Populating drop-down lists from the database in ASP. NET MVC

Hello. I’m using JavaScript Sсheduler in my ASP.NET MVC project, but I can not figure out how to load data from the database to populate the drop-down lists in the lightbox. Thank you in advance.


Please find the solution on this page in the paragraph “Data collection in dropdown lists”