Legacy code is great. We want to display data in three different formats. Obviously we need to have three completely different approaches to accomplish this goal…
- Asking the data object to create the result.
- Create the result manually in the endpoint.
- Using a utility class to create the result.