예제 #1
0
        protected override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            var workContext = filterContext.GetWorkContext();

            workContext.Layout.Metadata.Alternates.Add("Layout__Dialog");
        }