ASP.NET
How to return ActionResult with specific View? (not the controller name) / ASP.Net
Calssess
2020. 4. 22. 18:50
반응형
private ActionResult SendMail(string login)
{
return View("~/Views/SpecificView.cshtml")
}
You can directly point towards specifc view by pointing to their location explicitly
View 안에 절대경로를 입력해주면된다~
반응형