Exemplo n.º 1
0
        public async Task <IActionResult> Course(int id)
        {
            var dcs = await _DisciplineRepository.GetByCourseAsync(id);

            if (dcs == null)
            {
                return(new NotFoundResult());
            }
            return(View(dcs));
        }