title: WCF Dependency injection and abstract factory
body: <p>I have this wcf method</p>
  
  <pre><code>Profile GetProfileInfo(string profileType, string profileName)
  </code></pre>
  
  <p>and a business rule:</p>
  
  <p>if profileType is "A" read from database.</p>
  
  <p>if profileType is "B" read from xml file.</p>
  
  <p>The question is: how to implement it using a dependency injection container?</p>