public ActionResult Create(StudentViewModel studentViewModel) { if (ModelState.IsValid) { _app.Add(studentViewModel.MapTo <Student>()); return(RedirectToAction("Index")); } return(View()); }