public ActionResult ReloadConfig()
        {
            Console.Error.WriteLine("Reloading config");

            _endpointCollectionProvider.Reload();
            _responseRegistry.Clear();

            Console.Error.WriteLine("Config reloaded");
            return(RedirectToAction("Config"));
        }
Esempio n. 2
0
 public ActionResult ReloadConfig()
 {
     _endpointCollectionProvider.Reload();
     _responseRegistry.Clear();
     return(RedirectToAction("Index"));
 }