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); } }