title: C# how to call MVC Action method from console application
body: <p>I am working on console application which fetch some data and call the MVC3 Action method and pass the fetched data as a parameter to that action method.
  But my problem is how console application get know that data pass successfully\MVC action method call correctly and on server mvc application is running or not</p>
  
  <p>here is my code :</p>
  
  <pre><code>public static void Main()
  {
  // Mvc application object intialization
                  HomeController object_Mail = new HomeController();
              // Mvc action method call
             object_Mail.mailgateway(mvcemails); //mvcemails parameter passed to Actionmethod               
  }
  </code></pre>
  
  <p>Please guide me...</p>
  
  <p>Thanks,
  Raj</p>