常用方法
常用方法
常用方法
常用方法
public IActionResult Index() { var imageList = _photoService.GetAll(); var model = new PhotoIndexModel() { Images = imageList, SearchQuery = "" }; return(View(model)); }
public IActionResult Index() { var imageList = _photoService.GetAll(); var model = new PhotoIndexModel() { Images = imageList, SearchQuery = "" }; return(View(model)); }