internal static void RegisterControllers(this Assembly moduleAssembly, RouteCollection routeCollection, string hostedApplicationName)
 {
     moduleAssembly.GetTypes().Where(a => a.IsSubclassOf(typeof(Controller))).Select<Type, string>(a => a.Namespace).Distinct().ForEachAsParallel(a => routeCollection.RegisterControllerNamespace(a, hostedApplicationName));
 }