Redirect、RedirectPermanent、RedirecToAction、RedirectToActionPermanent、RedirectToRoute、RedirectToRoutePermanent的区别:
不带Permanent的是302临时跳转,搜索引擎将会收录当前地址,
带Permanent的是301永久跳转,搜索引擎将会收录跳转后的地址
Redirect、RedirectPermanent后面的参数为url,例如“home/index”
RedirecToAction、RedirectToActionPermanent后面的参数为action,例如“index”,此处为当前controller下的action名称
RedirectToRoute、RedirectToRoutePermanent后面的参数为action,例如new { action="index", controller ="home"}