protected void LoadList() { APIcaller caller = new APIcaller(); var retTask = caller.GetPostalCodeTaxTypes(); _taxTypes = retTask.Result; }
protected void LoadList() { APIcaller caller = new APIcaller(); var retTask = caller.GetPreviousRequests(); _requests = retTask.Result; }
public IActionResult Graph() { ViewBag.Data = APIcaller.All(); //or you can use APIcaller.Specific(name_of_currency); //for a specific currency return(View()); }
public PokemonViewModel() { pokemon = new ObservableCollection <Pokemon>(); apicaller = new APIcaller(this); this.GetPokemon(); }
protected void LoadList() { if (caller == null) { caller = new APIcaller(); } var retTask = caller.GetPostalCodes(); _zipcodes = retTask.Result; }
public Calc() { LoadList(); caller = new APIcaller(); }