//[HttpPost] public ActionResult Create(PhonebookViewModel viewModel) { if (!ModelState.IsValid) { ModelState.AddModelError("", "Phonebook Problem"); return(View()); } _phonebookService.CreatePhonebook(viewModel); return(View()); }