public ActionResult StudentDetails(string id) { var actualStudent = _psychologistManager.GetAllStudents().FirstOrDefault(x => x.Id == id); var allSubjects = _graphManager.GetAllGraphs(); var VM = new StudentDetailsViewModel(actualStudent, allSubjects); return(View(VM)); }