Esempio n. 1
0
        public void RenderPartialResource(string resourceName)
        {
            Contract.Requires(resourceName != null);

            Html.RenderPartial(ViewUtility.Localize(resourceName, Language));
        }
Esempio n. 2
0
        public void RenderActionResource(string resourceName)
        {
            Contract.Requires(resourceName != null);

            Html.RenderAction(ViewUtility.Localize(resourceName, Language), LayoutViewModel.ControllerName);
        }