BlackLinks.BlackAction.RenderView C# (CSharp) Method

RenderView() public method

public RenderView ( string viewName ) : void
viewName string
return void
        public void RenderView(string viewName)
        {
            string viewsPath = this.ControllerInstance.GetType ().FullName.Replace ("Controllers", "Views");
            string viewPath = string.Format ("{0}.{1}", viewsPath,viewName);
            RenderTemplate(viewPath);
        }