public ActionResult TeacherDetailView(string code) { var model = lecturerService.GetLecturerByCode(code.Replace("-", ".")); return(View(model)); }