controller方法跳转到其他view页面

1、跳转到index.cshtml视图中

return RedirectToAction("Index");

2、在原视图中,返回部分数据

return Content(JsonConvert.SerializeObject(new { Result = result, Message = "" }));

猜你喜欢

转载自blog.csdn.net/qq_33380252/article/details/84031504
今日推荐