public IActionResult Experiences() { var model = _experienceService.GetAllWithResume(); ViewBag.items = model.Where(i => i.isApproved == true).Count(); if (ViewBag.items == 1) { ViewBag.alert = false; } else { ViewBag.alert = true; } return(View(model)); }