コード例 #1
0
 public ActionResult ListEducations()
 {
     TempData["StudentID"] = ((Student)Session["Student"]).ID;
     return(View(educationComplexManager.GetEducationsOfStudent(((Student)Session["Student"]).ID)));
 }
コード例 #2
0
 public IHttpActionResult GetEducationsOfStudent([FromUri] int ID)
 {
     return(Ok(educationComplexManager.GetEducationsOfStudent(ID)));
 }