public ActionResult Services(ServiceSettingsViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return View(new ServiceSettingsViewModel(Settings.ActiveSettings));
            }

            Settings.ActiveSettings = model.ToSettingModel(Settings.ActiveSettings);
            MPEServices.SetConnectionUrls(Settings.ActiveSettings.MASUrl, Settings.ActiveSettings.TASUrl);
            return RedirectToAction("Services");
        }
        public ActionResult Services(ServiceSettingsViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return View(new ServiceSettingsViewModel(Settings.ActiveSettings));
            }

            Settings.ActiveSettings = model.ToSettingModel(Settings.ActiveSettings);
            Log.Info("Updating connection URLs to MAS {0} and TAS {1}", Settings.ActiveSettings.MASUrl, Settings.ActiveSettings.TASUrl);
            MPEServices.SetConnectionUrls(Settings.ActiveSettings.MASUrl, Settings.ActiveSettings.TASUrl);
            MPEServices.LogServiceVersions();
            return RedirectToAction("Services");
        }