예제 #1
0
        // GET: Staff/Edit/5
        public async Task <IActionResult> Edit(int id)
        {
            var staff = await _staffService.EditStaffDetailsAsync(id);

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