示例#1
0
        public HomeController(ILogger <HomeController> logger, IConfiguration config, ProjectsApiService projectsApiService, BugsApiService bugsApiService)
        {
            _logger        = logger;
            _configuration = config;
            _projectsApi   = projectsApiService;
            _bugsApi       = bugsApiService;

            _logger.LogInformation(Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"));
        }
示例#2
0
 public BugsController(ILogger <BugsController> logger, BugsApiService bugsApiService, ProjectsApiService projectsApiService)
 {
     _logger      = logger;
     _bugsApi     = bugsApiService;
     _projectsApi = projectsApiService;
 }
示例#3
0
 public ProjectsController(ILogger <ProjectsController> logger, ProjectsApiService projectsApiService)
 {
     _logger      = logger;
     _projectsApi = projectsApiService;
 }