1
컨트롤러 확장에 RedirectToAction을 만드는 방법내가 확장을 만들려고
RedirectToAction("Index")
에 대한
public static ActionResult RedirectToIndexAction(this Controller controller)
{
return RedirectToAction("Index");
}
만든다 RedirectToIndexAction();