public ActionResult Create(PhoneContact phoneContact) { try { if (ModelState.IsValid) { phoneBookRepository.InsertPhoneContact(phoneContact); phoneBookRepository.Save(); return(RedirectToAction("Index")); } } catch (RetryLimitExceededException) { ModelState.AddModelError("", "Невозможно сохранить изменения. Попробуйте позже."); } return(View()); }