public MainController(tckrContext context) { _context = context; _stocks = new List <Dictionary <string, string> >(); // Store API values locally WebRequest.GetList(JsonResponse => { _stocks = JsonResponse; } ).Wait(); }
public UserController(tckrContext context) { _context = context; }