private User GetUserByEmail(string email)
        {
            string userURL = string.Format(GoPo.Constants.URL_Get_UserByMail, email);
            User   userObj = null;

            var customWebResponse = HttpWebRequestHelper.WebGet(userURL);

            if (customWebResponse != null)
            {
                if (customWebResponse.Response.StatusCode == System.Net.HttpStatusCode.OK)
                {
                    userObj = JsonConvert.DeserializeObject <User>(customWebResponse.ResponseData);
                }
            }
            return(userObj);
        }
        public void SetGioPosition(int uid, double latitude, double longitude)
        {
            if (_lock != 0)
            {
                return;
            }
            _lock = 1;
            GoPo.Models.webApi.GioPosition gioPo = new GoPo.Models.webApi.GioPosition();
            gioPo.latitude  = latitude;
            gioPo.longitude = longitude;
            gioPo.recoDt    = DateTime.Now;
            gioPo.sid       = 1;
            gioPo.uid       = uid;
            var httpWebResp = HttpWebRequestHelper.WebPost(GoPo.Constants.URL_Post_GioPosition, gioPo);

            _lock = 0;
        }