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