예제 #1
0
        protected void LoadList()
        {
            APIcaller caller  = new APIcaller();
            var       retTask = caller.GetPostalCodeTaxTypes();

            _taxTypes = retTask.Result;
        }
예제 #2
0
        protected void LoadList()
        {
            APIcaller caller  = new APIcaller();
            var       retTask = caller.GetPreviousRequests();

            _requests = retTask.Result;
        }
예제 #3
0
        public IActionResult Graph()
        {
            ViewBag.Data = APIcaller.All();

            //or you can use APIcaller.Specific(name_of_currency);
            //for a specific currency
            return(View());
        }
예제 #4
0
        public PokemonViewModel()
        {
            pokemon = new ObservableCollection <Pokemon>();

            apicaller = new APIcaller(this);

            this.GetPokemon();
        }
예제 #5
0
        protected void LoadList()
        {
            if (caller == null)
            {
                caller = new APIcaller();
            }


            var retTask = caller.GetPostalCodes();

            _zipcodes = retTask.Result;
        }
예제 #6
0
 public Calc()
 {
     LoadList();
     caller = new APIcaller();
 }