예제 #1
0
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var constructor = await _instructorRepository.Instructor((int)id);

            return(View(constructor));
        }