public static void RegisterConfiguration(JuniorRouteApplicationConfiguration configuration)
        {
            configuration.ThrowIfNull("configuration");

            _configuration = configuration;
        }
 public static void RegisterConfiguration <T>()
     where T : JuniorRouteApplicationConfiguration, new()
 {
     _configuration = new T();
 }