Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ProductsController : Controller
- {
- public ActionResult Index()
- {
- return View(); // looks for Index.aspx in Products directory
- }
- }
- public class ProductsController : Controller
- {
- public ActionResult Index() // my default routing goes to Index (from sample project)
- {
- return View("Products");
- }
- }
Add Comment
Please, Sign In to add comment