コード例 #1
0
        public async Task <IActionResult> Index()
        {
            //  await HttpContext.SignOutAsync();
            IndexViewModel indexViewModel = new IndexViewModel();
            var            houses         = await _houseService.GetLatestHouses(4);

            indexViewModel.LatestHouses = houses;
            return(View(indexViewModel));
        }