public async Task <ActionResult <int> > GetStatistics()
        {
            try
            {
                var departmentCount = await _statisticsRepository.DepartmentsCountAsync();

                var employeeCount = await _statisticsRepository.EmployeeCountAsync();

                return(Ok(new { Departments = departmentCount, Employees = employeeCount }));
            }
            catch (Exception ex)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError, new Response {
                    Success = false, Message = ex.Message
                }));
            }
        }