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