Exemple #1
0
        public static MvcHtmlString PartialView <T>(this HtmlHelper helper, string path, string tenant) where T : FrapidAreaRegistration, new()
        {
            string view = FrapidViewHelper.GetRazorView <T>(path, tenant);

            return(helper.Partial(view));
        }
 protected string GetRazorView(string areaName, string controllerName, string actionName, string tenant)
 {
     return(FrapidViewHelper.GetRazorView(areaName, controllerName, actionName, tenant));
 }
 protected string GetRazorView <T>(string path, string tenant) where T : FrapidAreaRegistration, new()
 {
     return(FrapidViewHelper.GetRazorView <T>(path, tenant));
 }
 protected string GetRazorView <T>(string controllerName, string actionName, string tenant)
     where T : FrapidAreaRegistration, new()
 {
     return(FrapidViewHelper.GetRazorView <T>(controllerName, actionName, tenant));
 }
 protected string GetRazorView(string areaName, string path, string tenant)
 {
     return(FrapidViewHelper.GetRazorView(areaName, path, tenant));
 }