public async Task UpdatePlato(string idPlato, string estado) { try { await Task.Factory.FromAsync(proxy.BeginUpdatePlato(idPlato, estado, null, null), proxy.EndUpdatePlato); } catch (Exception ex) { throw ex; } }