public ActionResult SubmitScores(string courseId, FormCollection collection) { GetRole(); string str = collection["score"]; string[] scores = str.Split(','); repo.ChangeScores(courseId, scores); //TODO: 增加发送消息逻辑 return(RedirectToAction("EditScores")); }