public IActionResult DeleteDepartment(int id)
        {
            if (ModelState.IsValid)
            {
                DepartmentData.DeleteDepartment(id);
                return(RedirectToAction("DepartmentList"));
            }

            return(View());
        }