title: need to call controller's action method into another class in c# mvc
body: <p>I have created one method in a controller, but I need to call this method into anther class and I don't know how to call it.</p>
  
  <p>my sample code :-</p>
  
  <pre><code>  public class ReportController : BaseController
      {
          private readonly IPermissionService _permissionService;
          private readonly ICompaniesService _companyService;
  
         public ReportController(IPermissionService permissionService,
              ICompaniesService companyService)
         {
              this._permissionService = permissionService;
              this._companyService = companyService;
         }
  
          public void Reporting()
          {
              // code
          }
        }
  
  
      public class Home {
  
          public void Execute()
          {
              //I need to execute the Reporting method here
          }
  
      }
  </code></pre>
  
  <p>I  have tried many things to call my method in another class method but I can't get it to work.</p>