示例#1
0
        // GET: Departments/Details/5
        public ActionResult Details(int id)
        {
            Department department = departmentServices.FindDepartmentById(id);

            if (department == null)
            {
                return(HttpNotFound());
            }
            return(View(department));
        }