public override void Initialize <TTenantId, TUserId>() { IocManager.Resolve <Translation>().LocalizationSourceName = CmsConsts.LocalizationSourceName; //This code is used to register classes to dependency injection system for this assembly using conventions. IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly()); CustomDtoMapper.CreateMappings(); }
public override void PostInitialize <TTenantId, TUserId>() { base.PostInitialize <TTenantId, TUserId>(); CustomDtoMapper.CreateMappings(); }