public ActionResult Details(int id) { Student student = StudentStorage.Get(id); student.Subjects = new List <Subject> { new Subject { Name = "Temp F*g", Description = "det gode f*g" } }; return(View(student)); }
public ActionResult AddLecture(int id) { return(View(new SubjectAndStudentsViewModel(StudentStorage.Get(id)))); }