Exemple #1
0
 public ActionResult Create()
 {
     ViewBag.ClassID = new SelectList(repo.GetAllClasses(), "ClassID", "ClassName");
     return(View());
 }