/// <summary>
        /// Shows the available widgets.
        /// </summary>
        /// <param name="pageId">The page id.</param>
        /// <param name="isTemplate">if set to <c>true</c> [is template].</param>
        /// <returns></returns>
        public virtual ActionResult ShowAvailableWidgets(long pageId, bool isTemplate)
        {
            ViewData["pageId"] = pageId;
            var allowedWidgets = WidgetHelper.GetAvailableWidgets(isTemplate);

            return(PartialView(MVC.Shared.Views.Widgets.WidgetsList, allowedWidgets));
        }