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

            var students = await _servStudents.EditAsync(id);

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