コード例 #1
0
 public async Task <IActionResult> Index(string term = "")
 {
     return(View(await _estateService.GetAllEstates(term)));
 }
コード例 #2
0
 public IEnumerable <Estate> GetAllEstates()
 {
     return(_estateService.GetAllEstates());
 }