Example #1
0
        public async void Login()
        {
            try
            {
                StartBusiness();
                var isLoginSuccess = await SocialNetworkService.LoginAsync();

                if (isLoginSuccess)
                {
                    NavigationService.UriFor <UserProfilePageViewModel>().Navigate();
                }
            }
            catch (Exception ex)
            {
                Log.Write(ex.Message);
            }
            finally
            {
                StopBusiness();
            }
        }