public ActionResult Create(Product product) { try { // TODO: Add insert logic here product.Id = 0; _productApp.Save(product); return(RedirectToAction("Index")); } catch { return(new HttpStatusCodeResult(HttpStatusCode.InternalServerError)); } }