public async Task <IActionResult> NekiGljivarDrustvo(int id) { var gljivarDrustvo = await _gljivarDrustvoService.getGljivarDrustvoDetails(id); var objave = await _objavaService.getObjavas(); ViewBag.objave = objave; var korisnici = await _korisnikService.getKorisnici(); ViewBag.korisnici = korisnici; var dogadaji = await _dogadajiService.getDogadaji(); ViewBag.dogadaji = dogadaji; return(View(gljivarDrustvo)); }
public async Task <IActionResult> Index() { var dogadajs = await _dogadajService.getDogadaji(); return(View(dogadajs)); }