Ejemplo n.º 1
0
        public async Task <bool> Logut()
        {
            try
            {
                var id       = Preferences.Get(AuthorizeConstants.UserIdKey, string.Empty);
                var response = await JongSnamServices.LogoutWithHttpMessagesAsync(Convert.ToInt32(id));

                // remove
                Preferences.Clear();


                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }