Exemplo n.º 1
0
        public IActionResult GetMakelaarsWithPropertiesWithGardenAmount()
        {
            var result = new FundaResponseViewModel();

            var orderedMakelaars = _scraper.GetMakelaarsWithPropertiesWithGardenAmount();

            result.MakelaarsWithPropertiesAmount = orderedMakelaars;
            result.IsScrapingComplete            = _scraper.GetPropertiesWithGardenScrapingStatus();

            return(Ok(result));
        }