private async void OnSubmitMessage() { IsBusy = true; if (_connectionService.IsConnected) { this.IsValid = true; bool isValid = Validate(); if (isValid) { try { var messageSendServiceCall = await _contactDataService .AddContactInfoAsync(Message.Value, Email.Value); await _dialogService.ShowDialog("Thank you for your comment", "Thank you", "OK"); } catch (Exception ex) { //TODO: Mange exeptions logging await _dialogService.ShowDialog( "Contact service is unavailible, please try later.", "Try Later", "OK"); } } else { this.IsValid = false; } } else { await _dialogService.ShowDialog( "Make shour you are connectet to internet", "No Internet Connection", "Ok" ); } IsBusy = false; }