added method and route for automapper ajax call