james
03/13/2018, 5:51 AMList
of a class with tons of data that I don't care about. let's say I receive a class called Soup
and inside that class there's a List<Ingredients>
which also has its own classes Carrot
and Potato
.. but none of these classes do what I want to do, so when I receive that initial List, I'd like to re-map it so that it returns MySoup
which contains a List<MyIngredients>
which in turn will have MyCarrot
and MyPotato
models