コード例 #1
0
        // GET: Students/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var students = await _servStudents.DetailsAsync(id);

            if (students == null)
            {
                return(NotFound());
            }

            return(View(students));
        }