This project is read-only.
1
Vote

Different behaviour if you create a view from Scaffold Controller -Repository and Scaffold View

description

When I call Scaffold ControllerName -Repository and all views are created, the _CreateOrEdit.cshtml looks like the T4 template.

But when I modify the template, and I call Scaffold View ControllerName _CreateOrEdit.cshtml the output is:
@{
ViewBag.Title = "_CreateOrEdit";
}
<h2>_CreateOrEdit</h2>

file attachments

comments