Esempio n. 1
0
        public async Task <IActionResult> GetProductInfo(int id)
        {
            var result = await _printfulService.GetAllProductInfo(id);

            var total = result.Result;

            return(Ok(total));
        }
Esempio n. 2
0
        public async Task <IActionResult> ProductPage(int id)
        {
            var result = await _printfulServices.GetAllProductInfo(id);

            return(View(result));
        }
Esempio n. 3
0
        public async void GetPrice(int id)
        {
            var details = await _printfulServices.GetAllProductInfo(id);

            tempPrice = float.Parse(details.Result.SyncVariants[0].price);
        }