コード例 #1
0
    public static string PartialViewToString(this Controller instance, object model)
    {
        string viewName = instance.ControllerContext.RouteData.GetRequiredString("action");

        return(ControllerExtensions.PartialViewToString(instance, viewName, model));
    }