よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public ActionResult CourseAssign(CourseAssignTeacher assigncourse) { string msg = aCourseAssignManager.AssignCourseToTeacher(assigncourse); ModelState.Clear(); ViewBag.Message = msg; List <Department> departments = aDepartmentManager.GetAllDepartmentsInfo(); ViewBag.Departments = departments; return(View()); }