public static IMvcCoreBuilder AddWebApiProxyServer(this IMvcCoreBuilder mvcBuilder, Action <WebApiProxyOptions> optionAction)
        {
            var option = new WebApiProxyOptions();

            optionAction(option);

            foreach (var inf in option.WebApiProxies.SelectMany(x => x.GetType().Assembly.GetTypes().Where(t => t.IsInterface)))
            {
                option.RegisteredServices.Add(new KeyValuePair <string, Type>("", inf));
            }

            return(mvcBuilder.ConfigureInterfaces(option));
        }