Exemplo n.º 1
0
        public async Task <IActionResult> DisplayAds(AdsVm ad)
        {
            var filteredAds = await driverSer.FilterAds(ad);

            var vm = new AdSearchVm {
                Ads = filteredAds
            };

            return(View(vm));
        }