/// <summary> /// Initialize objects before anything during the boot cycle happens /// </summary> /// <returns></returns> public override IBootManager Initialize() { base.Initialize(); // initialize the AutoMapperMappings AutoMapperMappings.CreateMappings(); return(this); }
/// <summary> /// Initialize objects before anything during the boot cycle happens /// </summary> /// <returns>The <see cref="IBootManager"/></returns> public override IBootManager Initialize(ApplicationContext context) { EnsureDatabase(); base.Initialize(context); // initialize the AutoMapperMappings AutoMapperMappings.CreateMappings(); return(this); }