public ActionResult Create(string ListModules) { string[] ids = ListModules.Split(','); DB.AddExam(Int32.Parse(ids[0]), Int32.Parse(ids[1])); return(RedirectToAction("Index", "Exam")); }