internal async Task <stt> Find(string v1, string v2) { var agentid = Convert.ToInt32(v1); var data = await ManifestServices.FindSTT(agentid, v2); return(data); }
private async void SearchAction(object obj) { var data = await ManifestServices.FindSTT(STT); if (data != null && OnSearch != null) { OnSearch(data, new EventArgs()); } }
private async void Terima(object obj) { if (IsBusy) { return; } IsBusy = true; var Saved = await ManifestServices.UpdateItemAsync(Manifest); if (!Saved) { Manifest.RecieveOnPort = null; } IsBusy = false; }
private async void RefreshAction() { if (IsBusy) { return; } IsBusy = true; var result = await ManifestServices.GetItemsAsync(); if (result != null) { foreach (var item in result) { Source.Add(item); } } IsBusy = false; }
private async void RefreshAction() { if (IsBusy) { return; } IsBusy = true; var result = await ManifestServices.GetItemAsync(Manifest.Id.ToString()); if (result != null) { foreach (var item in result.Items) { Manifest.Items.Add(item); } } IsBusy = false; }