コード例 #1
0
        public MainController(tckrContext context)
        {
            _context = context;
            _stocks  = new List <Dictionary <string, string> >();

            // Store API values locally
            WebRequest.GetList(JsonResponse =>
            {
                _stocks = JsonResponse;
            }
                               ).Wait();
        }
コード例 #2
0
 public UserController(tckrContext context)
 {
     _context = context;
 }