I'm not exactly sure what you're asking, but, when you call View(model)
the view that is chosen is based upon conventions.
Here is an example:
public class HerbController : Controller {
public ActionResult Cilantro(SomeType model) {
return View(model)
}
}
That will look for a view file called Cilantro.cshtml
in a folder called Herb
(Views/Herb/Cilantro.cshtml). The framework will also look in the Shared
directory as well in case it is a view that is meant to be shared across multiple results.
However, you may also want to look at the Global.asax
file to see if there are any custom view paths being setup for the view engine. The example I gave above is based upon the default conventions of ASP.NET MVC. You can override them to meet your needs better if needed.