I am trying to add an api method in an old asp.net mvc application with code that works in asp.net core but I\'m not sure how to pass back the data in the same format. Speci