public ActionResult Create(AthleteClassModel model) { try { var athleteclass = new AthleteClassModel() { Name = model.Name }; athleteclass.SaveToDb(); return RedirectToAction("Index"); } catch { return View(); } }