public IActionResult Create(Product product) { if (!ModelState.IsValid) { return(View(product)); } string productPrice = product.productPrice.ToString(); var parsedPrice = decimal.Parse(productPrice, CultureInfo.CurrentCulture); handler.CreateProduct(product, parsedPrice); return(RedirectToAction("Index")); }