示例#1
0
        public ActionResult Delete(int id)
        {
            var employees = _employees.GetEmployeesByID(id);

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