public void Index()
 {
     try
     {
         Response.ContentType = "text/html";
         var prms = new Dictionary <String, String>
         {
             { "$(RootUrl)", RootUrl },
             { "$(PersonName)", GetUserPersonName() },
             { "$(ClientId)", GetUserClientId() },
             { "$(CompanyButton)", GetCompanyButton() },
             { "$(Locale)", _baseController.CurrentLang },
             { "$(Minify)", _baseController.IsDebugConfiguration ? String.Empty : "min." }
         };
         _baseController.Layout(Response.Output, prms);
     }
     catch (Exception ex)
     {
         _baseController.WriteHtmlException(ex, Response.Output);
     }
 }
 public void Index()
 {
     try
     {
         Response.ContentType = "text/html";
         var prms = new Dictionary <String, String>
         {
             { "$(RootUrl)", RootUrl },
             { "$(HelpUrl)", _baseController.Host.HelpUrl },
             { "$(PersonName)", Server.HtmlEncode(User.Identity.GetUserPersonName()) },
             { "$(Theme)", _baseController.Host.Theme },
             { "$(Build)", _baseController.Host.AppBuild },
             { "$(Locale)", _baseController.CurrentLang },
             { "$(Minify)", _baseController.IsDebugConfiguration ? String.Empty : "min." },
             { "$(Description)", _baseController.Host.AppDescription }
         };
         _baseController.Layout(Response.Output, prms);
     }
     catch (Exception ex)
     {
         _baseController.WriteHtmlException(ex, Response.Output);
     }
 }