I have two Controllers: Faculty 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.example.com.br/{Name of Faculty Faculty} / {Name of Course}