コード例 #1
0
 public static DIHelper AddSmtpSettingsController(this DIHelper services)
 {
     return(services
            .AddApiContextService()
            .AddPermissionContextService()
            .AddCoreConfigurationService()
            .AddCoreBaseSettingsService()
            );
 }
コード例 #2
0
ファイル: EmployeeWraper.cs プロジェクト: sk81biz/sk81
        public static DIHelper AddEmployeeWraper(this DIHelper services)
        {
            services.TryAddScoped <EmployeeWraperHelper>();

            return(services
                   .AddApiContextService()
                   .AddDisplayUserSettingsService()
                   .AddUserPhotoManagerService()
                   .AddCommonLinkUtilityService());
        }