// GET: DependencyGroups public IActionResult Index() { ViewData["Message"] = HttpContext.Session.GetString("Message"); HttpContext.Session.Remove("Message"); DependencyGroupsAndNewDependencyGroup dependencyGroupsAndNewDependencyGroup = new DependencyGroupsAndNewDependencyGroup(); dependencyGroupsAndNewDependencyGroup.DependencyGroups = _context.DependencyGroup.ToList(); return(View(dependencyGroupsAndNewDependencyGroup)); }
// GET: DependencyGroups public IActionResult Index() { ViewData["Message"] = HttpContext.Session.GetString("Message"); HttpContext.Session.Remove("Message"); DependencyGroupsAndNewDependencyGroup dependencyGroupsAndNewDependencyGroup = new DependencyGroupsAndNewDependencyGroup(); dependencyGroupsAndNewDependencyGroup.DependencyGroups = _context.DependencyGroup.ToList(); return View(dependencyGroupsAndNewDependencyGroup); }