my mvc3 project has following layers.
controller -> service -> repository.
I need to map ViewModel to Entity, not sure which layer is the right one to put the code in.
I know its either controller or service, please let me know which one I should use, and if you could please let me know why.
thank you.