Exemple #1
0
    public string[] GetSimilarZipCodeByDistance(string zipcode, string distance)
    {
        OtherDAL otherDal = new OtherDAL();

        EZip[]        objZip = otherDal.GetSimilarZipCodeByDistance(zipcode, distance, 2).ToArray();
        List <string> items  = new List <string>(objZip.Length);

        foreach (EZip objEZip in objZip)
        {
            items.Add(objEZip.ZipCode);
        }
        return(items.ToArray());
    }