public Task <List <Brewery> > GetResult(Object queryArgs)
        {
            return(new Task <List <Brewery> >(() =>
            {
                HttpWebRequest breweryHttpWebRequest = null;
                HttpWebResponse breweryHttpWebResponse = null;
                JsonTextReader textReader = null;
                try
                {
                    breweryHttpWebRequest = (HttpWebRequest)WebRequest.Create(_breweryWebApiUrl + queryArgs.ToString());

                    breweryHttpWebResponse = (HttpWebResponse)breweryHttpWebRequest.GetResponse();

                    JsonSerializer jsonSerializer = new JsonSerializer();
                    textReader = new JsonTextReader(new StreamReader(breweryHttpWebResponse.GetResponseStream()));
                    List <Brewery> breweryToReturn = (List <Brewery>)jsonSerializer.Deserialize(textReader, typeof(List <Brewery>));

                    return breweryToReturn;
                }
                catch (Exception e)
                {
                }
                finally
                {
                    breweryHttpWebResponse.CloseAndDispose();
                    textReader.CloseAndDispose();
                }


                return null;
            }));
        }