styles, automapper, rewrite repository