internal static void PostStart() { Mapper.Initialize(x => x.AddProfile <ProductDtoMap>()); var container = ObjectFactory.ConfigureUnityContainer(); HttpContext.Current.Application.SetContainer(container); }