protected override void OnStartup(StartupEventArgs e) { AutomapperConfiguration.Initialise(); base.OnStartup(e); }