public ActionResult Save(EditModel model) { var book = BookStore.GetBook(model.Book); var category = book.GetCategory(model.Category); var word = category.GetWord(model.Word); word.Edit(model.Polish, model.GetEnglishPhrases().ToList()); book.Save(); return(RedirectToAction("Edit", new EditInputModel(word))); }