Example #1
0
        public async Task <ActionResult> User(string userName)
        {
            var userMedia = await _instagramDataService.GetUser(userName, CancellationToken.None);

            return(Json(userMedia, JsonRequestBehavior.AllowGet));
        }
        public async Task <IActionResult> User(string userName)
        {
            var userMedia = await _instagramDataService.GetUser(userName, CancellationToken.None);

            return(Json(userMedia));
        }