常用方法
常用方法
常用方法
常用方法
public IActionResult Index() { var Model = new HomeViewModel(); Model.CurrentMessage = greet.GetMessage(); Model.Restaurants = restaurant.GetRestaurants(); return(View(Model)); }
public IActionResult Index() { var Model = new HomeViewModel(); Model.CurrentMessage = greet.GetMessage(); Model.Restaurants = restaurant.GetRestaurants(); return(View(Model)); }