✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Для чого призначений наступний код контролера:
[HttpGet]public ActionResult Create() { return View();}[HttpPost]public ActionResult Create(Book book){ db.Books.Add(book); db.SaveChanges(); return RedirectToAction("Index");}