async Task TodoItem(NewTodoTaskEvent arg) { IsBusy = false; if (arg.Result.TransactionResult == TransactionResultTypes.Ok) { _textButton.IsEnabled = false; await MessageAsync("TextSuccess"); } else { await ErrorTextAsync(arg.Result.GetErrorMessage()); } }
async Task TodoTask(NewTodoTaskEvent arg) { IsBusy = false; if (arg.Result.TransactionResult == TransactionResultTypes.Ok) { await MessageAsync("Success"); await Navigation.PopAsync(); } else { await ErrorTextAsync(arg.Result.GetErrorMessage()); } }