public virtual async Task <ActionResult> Delete(Guid id, Student model) { try { // TODO: Add delete logic here await StudentCore.GetAsync(id); await StudentCore.DeleteAsync(model); return(RedirectToAction("Index")); } catch { return(View()); } }