public IHttpActionResult getAllUsers(string filter, int startIndex, int count)
        {
            logger.Debug("Enter getAllUsers by Filter ");
            SCIMFilter           f  = SCIMFilter.TryParse(filter);
            PaginationProperties pp = new PaginationProperties(count, startIndex);

            try
            {
                Okta.SCIM.Models.SCIMUserQueryResponse rGetUsers = connector.getUsers(pp, f);
                if (rGetUsers == null)
                {
                    logger.Debug("Exit no users not found");
                    return(NotFound());
                }
                else
                {
                    logger.Debug("Exit Successfully user found ");
                    return(Ok <SCIMUserQueryResponse>(rGetUsers));
                }
            }
            catch (EntityNotFoundException e)
            {
                logger.Debug("Exit entity not found trying to get user");
                return(NotFound());
            }
            catch (Exception e)
            {
                logger.Debug("Exit Error at getUser  ");
                logger.Error(e);
                return(InternalServerError(e));
            }
        }
        public IActionResult getUsers([FromQuery] string filter, [RequiredFromQuery] int startIndex, [RequiredFromQuery] int count)
        {
            _logger.LogDebug("Enter getAllUsers by Filter ");
            SCIMFilter myFilter = null;

            if (!string.IsNullOrEmpty(filter))
            {
                myFilter = SCIMFilter.TryParse(filter);
            }


            PaginationProperties pp = new PaginationProperties(count, startIndex);

            try
            {
                cvs_SCIM20.Okta.SCIM.Models.SCIMUserQueryResponse rGetUsers = _connector.getUsers(pp, myFilter);
                if (rGetUsers == null)
                {
                    _logger.LogDebug("Exit no users not found");
                    return(NotFound());
                }
                else
                {
                    _logger.LogDebug("Exit Successfully user found ");
                    return(Ok(rGetUsers));
                }
            }
            catch (EntityNotFoundException e)
            {
                _logger.LogDebug("Exit entity not found trying to get user");
                return(NotFound());
            }
            catch (Exception e)
            {
                _logger.LogDebug("Exit Error at getUser  ");
                _logger.LogError(e.ToString());
                return(StatusCode(StatusCodes.Status500InternalServerError, e));
            }
        }