public static void Configure(IUnityContainer container) { var mapper = MapConfiguration.Create(); container.RegisterInstance(mapper); }