public IQueryable<Application> BuildSearchQuery(List<SearchParameter> parameters, IQueryable<Application> query)
        {
            var guarantorStatus = parameters.GuarantorDeclinedOrDefault();

            if (guarantorStatus.IsNotNull())
            {
                if (EnumHelper<Status>.Parse(guarantorStatus.ParameterValue) == Status.Declined)
                    return query.HasDeclinedGuarantors().AsQueryable();
            }
            return query;
        }