Automapper and DTO implementation.