Modified API controller

After a short discussion on Stack, I modified the ONE file that made any
difference: I added a single line (".AsEnumerable()") to the API
controller and now the 500 error is gone and it's pulling records
correctly. Of course, there *are* no records. That's the next phase of
work.