示例#1
0
        async Task ExecuteGetTransCommand()
        {
            if (CrossSecureStorage.Current.HasKey("transid"))
            {
                string tid = CrossSecureStorage.Current.GetValue("transid");
                transaction = await CosmosTransService.searchTransById(tid);

                CrossSecureStorage.Current.DeleteKey("transid");
            }
            else
            {
                string uid = CrossSecureStorage.Current.GetValue("id");
                transaction = await CosmosTransService.SearchTransByLastUid(uid);
            }
        }
示例#2
0
 /*--------------------range of operation of drop-----------------------------------------------------------*/
 async Task ExecuteSearchById()
 {
     transaction = await CosmosTransService.searchTransById(ID);
 }