public async Task <IActionResult> Create([Bind("Id,Name")] Department department)
        {
            if (ModelState.IsValid)
            {
                await _departmentsService.AddAsync(department);

                return(RedirectToAction(nameof(Index)));
            }
            return(View(department));
        }