Is there a more elegant way of selecting an object via a HTML select and then running a function?
I have a razor page with an array of objects that I pre