public async Task <ObservableCollection <Proveedor> > GetProveedores(string ciudad, string text) { try { var xx = await Task.Factory.FromAsync <ObservableCollection <Proveedor> >(proxy.BeginGetProveedores(ciudad, text, null, null), proxy.EndGetProveedores); return(xx); } catch (Exception ex) { return(new ObservableCollection <Proveedor>()); } }