Beispiel #1
0
 public ApiController(CountryService userService,
                      ILogger <ApiController> logger,
                      GitHubModel gitHubModel)
 {
     _countryService = userService;
     _logger         = logger;
     _gitHubModel    = gitHubModel;
 }
 public HomeController(ILogger <HomeController> logger,
                       CountryService countryService,
                       GitHubModel gitHubModel)
 {
     _logger         = logger;
     _countryService = countryService;
     _gitHubModel    = gitHubModel;
 }
Beispiel #3
0
 public GraphQLService(ILogger <GraphQLService> logger,
                       ICountryService countryService,
                       GitHubModel gitHubModel)
 {
     _logger         = logger;
     _countryService = countryService;
     _gitHubModel    = gitHubModel;
     countryModel    = _gitHubModel.Country.First();
 }
Beispiel #4
0
 public MainViewModel(GitHubModel model)
 {
     Model = model;
 }
 public IssueDetailsViewModel(GitHubModel model)
 {
     _model = model;
 }
 public IActionResult Index()
 {
     gitHubViewModel = _gitHubModel;
     return(View());
 }
Beispiel #7
0
 public IssuesViewModel(GitHubModel model)
 {
     _model = model;
 }
Beispiel #8
0
 public AddIssueViewModel(GitHubModel model, Dispatcher dispatcher)
 {
     _model      = model;
     _dispatcher = dispatcher;
 }