public async Task <IActionResult> DeleteConfirmed(long id)
        {
            await _departmentsService.DeleteAsync(id);

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