public IActionResult AddDepartment(Department department)
        {
            if (!ModelState.IsValid)
            {
                return(View(department));
            }
            if (department == null)
            {
                return(BadRequest());
            }
            _services.CreateDepartment(department);
            _services.Save();

            return(RedirectToAction("DepartmentList"));
        }