1
I have two Controllers: College and Course
public class InstituicaoController : Controller
{
// GET: Instituicao
public ActionResult Index()
{
return View();
}
public ActionResult Instituicao(string instituicao) {
return View();
}
public ActionResult Curso() {
return View();
}
}
<a href="@Url.Action("Curso", "?", new {faculdade = "NomeFaculdade", curso = "Nomecurso"})">Detalhe do Curso </a>
What is the procedure to leave this way: www.exemplo.com.br/{School Name}/{Course Name}
In fact you have an Institutional Controller that has 3 methods... The URL you want should run which method?
– Ricardo