public async Task <IActionResult> ElGradebookTeacherAdd(int elGradebookId) { var elGradebook = await _elGradebookRepository.GetElGradebookAsync(elGradebookId); if (elGradebook == null) { return(NotFound()); } var elGradebookTeacher = new ElGradebookTeacher { ElGradebookId = elGradebookId, ElGradebook = elGradebook }; ViewBag.Teachers = _selectListRepository.GetSelectListAppUsersTeachers(); return(View(elGradebookTeacher)); }