title: Get data from a controller in another controller
body: <p>I am trying to build a generic export operation in mvc. so i wrote a controller for this.</p>
  
  <pre><code>[AcceptVerbs(HttpVerbs.Post)]
  public string Excel(FormCollection collection)
  {
      string dataUrl = collection["dataUrl"];
      string filter = collection["filter"];
      //Get data from dataUrl
      ...
  }
  </code></pre>
  
  <p>My problem is I want to get data to be transferred from another controller by passing same parameter to its method via <strong>POST</strong>.</p>
  
  <p>this is the sample method for data </p>
  
  <pre><code>[AcceptVerbs(HttpVerbs.Post)]
  public JsonResult List(FormCollection collection)
  {
      ...
      return Json(data);
  }
  </code></pre>
  
  <p>Thanks in advance.</p>