public virtual async Task <ActionResult> Create(Student model) { try { await StudentCore.CreateAsync(model); return(RedirectToAction("Index")); } catch (Exception ex) { return(View()); } }