Exemplo n.º 1
0
        // GET: Voz
        public async Task <ActionResult> Index()
        {
            var ims = await _vozImageService.LoadAllPages($"https://forums.voz.vn/showthread.php?t=7631621");

            var images = new ImgsModel();

            images.Imgs = ims;
            return(View("Imgs", ims.Distinct()));
        }
Exemplo n.º 2
0
 public async Task <List <string> > GetImagesAsync(string url)
 {
     return(await _vozImageService.LoadAllPages(url));
 }