예제 #1
0
        // GET: Subject/Details/5
        public async Task <IActionResult> Details(string id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var subjectModel = await _context.Details(id);

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

            return(View(subjectModel));
        }