public ActionResult UpdateSettingsEntireSite(BlogSettingsEntireSiteModel m)
 {
   try
   {
     var svc = new BlogAppService(AppService);
     svc.BlogPageExt = m.BlogPageExt ?? string.Empty;
     AtomPubService.UpdateService(AppService);
     ServerApp.Restart();
     TempData["saved"] = true;
   }
   catch (Exception ex)
   {
     LogService.Error(ex);
     m.Errors.Add(ex.Message);
   }
   return RedirectToAction("Settings", "Admin");
 }
 public PartialViewResult BlogSettingsEntireSite()
 {
   var m = new BlogSettingsEntireSiteModel();
   var svc = new BlogAppService(AppService);
   m.BlogPageExt = svc.BlogPageExt;
   m.ExtSelections = BlogSettingsEntireSiteModel.Extensions.Select(e =>
     new SelectListItem() { Value = e.Key, Text = e.Value, Selected = e.Key == svc.BlogPageExt });
   return PartialView("BlogSettingsEntireSiteWidget", m);
 }