public ClienteViewModel() { Title = "Clientes"; Items = new ObservableCollection <Cliente>(); LoadItemsCommand = new Command(async() => await ExecuteLoadItemsCommand()); Mensaje = ""; Color = "Blue"; MessagingCenter.Subscribe <ViewCliente, Cliente>(this, "AddItem", async(obj, item) => { Color = "Blue"; Mensaje = ""; var newItem = item as Cliente; Items.Add(newItem); await ClienteDatos.AddItemAsync(newItem); }); MessagingCenter.Subscribe <ItemDetailPage, Cliente>(this, "DeleteItem", async(obj, item) => { var newItem = item as Cliente; Items.Add(newItem); if (!await ClienteDatos.DeleteItemAsync(newItem)) { Mensaje = "***!!!!Este Cliente No se puede Eliminar...!!!!***"; Color = "Red"; return; } }); }