title: Exception is: InvalidOperationException - The current type, is an interface and cannot be constructed. Are you missing a type mapping?
body: <p>In my bootstrapper:</p>
  
  <pre><code>namespace Conduit.Mam.ClientServices.Common.Initizliaer
  {
      public static class Initializer
      {
          private static bool isInitialize;
          private static readonly object LockObj = new object();
          private static IUnityContainer defaultContainer = new UnityContainer();
  
          static Initializer()
          {
              Initialize();
          }
  
          public static void Initialize()
          {
              if (isInitialize)
                  return;
  
              lock (LockObj)
              {
                  IUnityContainer container = defaultContainer;
  
                  //registering Unity for MVC
                  DependencyResolver.SetResolver(new UnityDependencyResolver(container));
  
                  //registering Unity for web API
                  //  GlobalConfiguration.Configuration.DependencyResolver = new Unity.WebApi.UnityDependencyResolver(container);
  
                  #region managers
                  container.RegisterType&lt;ISettingsManager, SettingsManager&gt;();
  
                  container.RegisterType&lt;IMamDataManager, MamDataManager&gt;();
  
                  container.RegisterType&lt;IAppsDataManager, AppsDataManager&gt;();
                  #endregion
  
                  if (!isInitialize)
                  {
                      isInitialize = true;
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>in my controller's code:</p>
  
  <pre><code>ISettingsManager sm = mUnityContainer.Resolve&lt;ISettingsManager&gt;();
  </code></pre>
  
  <p>hovering on mUnityContainer I see <code>ISettingsManager</code> is mapped to <code>SettingsManager</code></p>
  
  <p>but then I get the error:</p>
  
  <blockquote>
    <p>Exception is: InvalidOperationException - The current type,  is an
    interface and cannot be constructed. Are you missing a type mapping?</p>
  </blockquote>
  
  <p>I have also tried</p>
  
  <pre><code>ISettingsManager sm = (ISettingsManager)mUnityContainer.Resolve&lt;&gt;(typeof(ISettingsManager));
  </code></pre>
  
  <p>but no use </p>