title: How can pass parameter in RedirectToAction?
body: <p>I am working on MVC asp.net.</p>
  
  <p>This is my controller action:</p>
  
  <pre><code>public ActionResult ingredientEdit(int id) {
      ProductFormulation productFormulation = db.ProductFormulation.Single(m =&gt; m.ID == id);
      return View(productFormulation);
  }
  
  //
  // POST: /Admin/Edit/5
  
  [HttpPost]
  public ActionResult ingredientEdit(ProductFormulation productFormulation) {
      productFormulation.CreatedBy = "Admin";
      productFormulation.CreatedOn = DateTime.Now;
      productFormulation.ModifiedBy = "Admin";
      productFormulation.ModifiedOn = DateTime.Now;
      productFormulation.IsDeleted = false;
      productFormulation.UserIP = Request.ServerVariables["REMOTE_ADDR"];
      if (ModelState.IsValid) {
          db.ProductFormulation.Attach(productFormulation);
          db.ObjectStateManager.ChangeObjectState(productFormulation, EntityState.Modified);
          db.SaveChanges();
          **return RedirectToAction("ingredientIndex");**
      }
      return View(productFormulation);
  }
  </code></pre>
  
  <p>I want to pass id to <code>ingredientIndex</code> action. How can I do this?</p>
  
  <p>I want to use this id <strong>public ActionResult ingredientEdit(int id)</strong> which is coming from another page.   actually I don't have <code>id</code> in second action, please suggest me what should I do.</p>