Example #1
0
 public UserOperationController(ClassesBL classesBL, FieldsBL fieldsBL
                                , IFeatureService featureService,
                                ILogger logger)
 {
     _FeatureService = featureService;
     _UserManager    = Startup.UserManagerFactory.Invoke();
     _ClassesBL      = classesBL;
     _FieldsBL       = fieldsBL;
     _Logger         = logger;
 }
Example #2
0
 public SettingController(SettingBL settingBL, ClassesBL classesBL, FieldsBL fieldsBL,
                          DomainBL domainBL,
                          UniqueStyleBL uniqueStyleBL, Cryptor cryptor,
                          ILogger logger)
 {
     _UniqueStyleBL = uniqueStyleBL;
     _DomainBL      = domainBL;
     _FieldsBL      = fieldsBL;
     _ClassesBL     = classesBL;
     _SettingBL     = settingBL;
     _GdbConnection = cryptor.Decrypt(System.Configuration.ConfigurationManager.ConnectionStrings["gdbConn"].ConnectionString);
     _Logger        = logger;
 }