private void CreateFocusPointClick(object param) { if (!string.IsNullOrEmpty(FocusPoint.Name)) { if (ValidateUserInput()) { if (isEdit) { RequestCreator.EditFocusPoint(FocusPoint); } else { FocusPoint = RequestCreator.CreateFocusPointDescriptor(FocusPoint); } CallBackEvent?.Invoke(this, FocusPoint); PopupNavigation.Instance.PopAsync(); } } else { Application.Current.MainPage.DisplayAlert("Alert", "Please enter a name", "Ok"); } }