예제 #1
0
        public async Task <IActionResult> Edit(int id)
        {
            var editFaculty = await _faculty.GetById(id);

            if (editFaculty == null)
            {
                return(RedirectToAction("Index"));
            }
            return(View(editFaculty));
        }