Ejemplo n.º 1
0
        // GET: Student/Details/5
        public async Task <IActionResult> Details(string id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var studentModel = await _context.Details(id);

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

            return(View(studentModel));
        }