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