예제 #1
0
        public IssuesController(IOptions <AppSettings> appSettings, IGitHubAuthentication gitHubAuthentication, IWorkItemsRepo workItemsRepo)
        {
            _appSettings          = appSettings;
            _gitHubAuthentication = gitHubAuthentication;
            _workItemsRepo        = workItemsRepo;

#if DEBUG
            _ignoreAuthCheck = true;
#endif
        }
 public WorkItemsController(IOptions <AppSettings> appSettings, IWorkItemsRepo workItemsRepo)
 {
     _appSettings   = appSettings;
     _workItemsRepo = workItemsRepo;
 }