public static void Register(HttpConfiguration config) { // Repositories container is loaded by default but we have to add the Token container config DIContainer.AddConfiguration("Token"); // Add Unity DependencyResolver config.DependencyResolver = new UnityDependencyResolver(); }