public JsonRedirectResult(JsonActionResultType actionResultType, string redirectUrl)
 {
     RedirectUrl      = redirectUrl;
     ActionResultType = actionResultType;
 }
Ejemplo n.º 2
0
 public JsonResult JsonRedirectResult(JsonActionResultType resultType, string redirectUrl)
 {
     return(new JsonResultBase(new JsonRedirectResult(resultType, redirectUrl)));
 }
Ejemplo n.º 3
0
 public JsonResult JsonResultWithView(JsonActionResultType resultType, string viewPath, object model)
 {
     return(new JsonResultBase(new JsonResultWithView(resultType, RenderRazorViewToString(viewPath, model))));
 }
Ejemplo n.º 4
0
 public JsonResultWithView(JsonActionResultType resultType, string viewResult)
 {
     ActionResultType = resultType;
     ViewResult       = viewResult;
 }