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