Esempio n. 1
0
        public HttpResponseMessage CheckPhoneNumber(string PhoneNumber, string validecode)
        {
            short shtResult = _ILoginServices.CheckPhoneNumber(PhoneNumber);

            HttpResponseMessage result = new HttpResponseMessage
            {
                Content = new StringContent(JsonConvert.SerializeObject(shtResult),
                                            System.Text.Encoding.GetEncoding("UTF-8"),
                                            "application/json")
            };

            return(result);
        }