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); } }
/*--------------------range of operation of drop-----------------------------------------------------------*/ async Task ExecuteSearchById() { transaction = await CosmosTransService.searchTransById(ID); }