Example #1
0
        public HttpResponseMessage SaveMessageLog(string PhoneNumber, string SendContent)
        {
            bool blResult = _ILoginServices.SaveMessageLog(PhoneNumber, SendContent);
            HttpResponseMessage result = new HttpResponseMessage
            {
                Content = new StringContent(JsonConvert.SerializeObject(blResult),
                                            System.Text.Encoding.GetEncoding("UTF-8"),
                                            "application/json")
            };

            return(result);
        }