//List All Sprint public ActionResult AllSprints() { Sprints sprint = new Sprints(); var sprints = sprint.GetAllSprints(); if (sprints.Count() > 0) { return View(sprints.ToList()); } else { ViewBag.Message = "There are not registered sprints."; return View(); } }