Exemple #1
0
 // GET: Disciplina
 public async Task <IActionResult> Index()
 {
     return(View(await _disciplinaRepository.ListarTodosAsync()));
 }
Exemple #2
0
 // GET: Avaliacao/Create
 public async Task <IActionResult> Create()
 {
     ViewData["IdDisciplina"] = new SelectList(await _disciplinaRepository.ListarTodosAsync(), "Id", "Nome");
     return(View());
 }