public BaseListResponse <SPBuildOrganizationTree_Result> BuildOrganizationTree(DepartmentQuery query)
        {
            var response = new BaseListResponse <SPBuildOrganizationTree_Result>();

            try
            {
                response.Data = _departmentRepository.BuildOrganizationTree(query);
            }
            catch (Exception ex)
            {
                response.Message = "Error: " + ex.Message + " StackTrace: " + ex.StackTrace;
            }
            return(response);
        }