public IActionResult Create([FromForm] Product newProduct) { newProduct.Energy *= 10; _ctx.Add(newProduct); _ctx.SaveChanges(); var model = _ctx.Products.ToList(); return(RedirectToAction(nameof(Index))); }