async void ActualizarTarea() { if (tareas != null) { tareas.Nombre = Name; tareas.Notes = Notes; tareas.Finalizada = Completed; var Repository = new Repositorio(); var Result = await Repository.ActualizarTareaAsync(tareas); if (Result == 1) { await Application.Current.MainPage.DisplayAlert ("Mensaje", "Registro Modificado!", "Ok"); await Application.Current.MainPage.Navigation.PopAsync(); } } }