コード例 #1
0
 public ServiceProblem(IConfiguration config)
 {
     this.serviceZabbix = new ServiceZabbix();
     this.serviceUser   = new ServiceUser(config);
     this.problemRepo   = new ProblemRepository(config);
     this.userRepo      = new UserRepository(config);
 }
コード例 #2
0
 public LoginController(IConfiguration config)
 {
     service       = new ServiceUser(config);
     issuer        = config.GetSection("Issuer").Value;
     audience      = config.GetSection("Audience").Value;
     key           = config.GetSection("SigningKey").Value;
     serviceZabbix = new ServiceZabbix();
 }