반응형
private ActionResult SendMail(string login)
{
            return View("~/Views/SpecificView.cshtml")
}

You can directly point towards specifc view by pointing to their location explicitly 

 

View 안에 절대경로를 입력해주면된다~

출처 : https://stackoverflow.com/questions/26359192/how-to-return-actionresult-with-specific-view-not-the-controller-name

반응형

+ Recent posts