private async Task ExecuteOnDisconnect() { IsBusy = true; var _restService = new RESTService(); var Result = await _restService.Disconnect_async(); if (Result.Item1) { Application.Current.MainPage = new Login_View(); } else { DependencyService.Get <IMessage>().ShortAlert(Result.Item2); } IsBusy = false; }