/// <summary>
 /// Get auth token
 /// </summary>
 /// <returns></returns>
 private string GetAuthToken()
 {
     //Get Client Id and Client Secret from https://datamarket.azure.com/developer/applications/
     //Refer obtaining AccessToken (http://msdn.microsoft.com/en-us/library/hh454950.aspx) 
     var admAuth = new AdmAuthentication(_clientId, _clientSecret);
     try
     {
         var admToken = admAuth.GetAccessToken();
         // Create a header with the access_token property of the returned token
         return "Bearer " + admToken.access_token;
     }
     catch (WebException ex)
     {
         _logger.Error(ex.Message);
         ProcessWebException(ex);
     }
     catch (Exception ex)
     {
         _logger.Error(ex.Message);
     }
     return string.Empty;
 }
        /// <summary>
        /// Get auth token
        /// </summary>
        /// <returns></returns>
        private string GetAuthToken()
        {
            //Get Client Id and Client Secret from https://datamarket.azure.com/developer/applications/
            //Refer obtaining AccessToken (http://msdn.microsoft.com/en-us/library/hh454950.aspx)
            var admAuth = new AdmAuthentication(_clientId, _clientSecret);

            try
            {
                var admToken = admAuth.GetAccessToken();
                // Create a header with the access_token property of the returned token
                return("Bearer " + admToken.access_token);
            }
            catch (WebException ex)
            {
                _logger.Error(ex.Message);
                ProcessWebException(ex);
            }
            catch (Exception ex)
            {
                _logger.Error(ex.Message);
            }
            return(string.Empty);
        }