public async Task <IActionResult> Index() { // TODO : Get Instagram posts. List <string> model = _spiikService.GetImages("slideshow"); return(View(model)); }
public async Task <IActionResult> Index() { var model = await _db.Organization.AsNoTracking().SingleOrDefaultAsync(); var viewModel = new ForeningViewModel(model); viewModel.SlideshowSrc = _spiikService.GetImages("slideshow"); return(View(viewModel)); }