public async Task <bool> SyncSapData()
        {
            var azureClient = _azureclient.GetClient(null, null, null);
            var poFlow      = await _cloudService.InvokeApiAsyncGet <bool>(azureClient, Globals.PURCHASEORDER_SYNC);

            return(poFlow);
        }
Example #2
0
        public async Task <int> CheckIfUserHasVoted(string eventTypeId, string UDID)
        {
            var client      = _azureClient.GetClient(string.Empty, string.Empty, string.Empty);
            var userVoteURL = Globals.CHECK_USER_VOTE + "/" + string.Format("{0}" + "/" + "{1}", eventTypeId, UDID) + "?ZUMO-API-VERSION=2.0.0";
            var userVote    = await _cloudService.InvokeApiAsyncGet <int>(client, userVoteURL);

            return(userVote);
        }