title: AutoFac constructor multiple Interface
body: <p>I am using Autofac in my project. I want to use a simple interface to resolve them. Not generic repository.</p>
  
  <p>I was using Castle in my old projects. It has a class which have static methods. I used it in my constructor method like this; </p>
  
  <pre><code>IService.ProductService.GetMyProducts();
  </code></pre>
  
  <p>In Autofac i couldnt find anything like above. Please help me. I dont wanna use a lot of Interfaces in my constructor.</p>
  
  <pre><code>private IGeneralRepository generalRep;
          private IDenemeRepository denemeRep;
          private IGokberkRepository GokberkRep;
  
          public HomeController(IDenemeRepository dr,IGokberkRepository gr, IGeneralRepository ger)
          {
              generalRep = ger;
              denemeRep = dr;
              GokberkRep = gr;
          }
  </code></pre>