Пример #1
0
        public object GetDepName2(string DepName, string CompanyId)
        {
            PinYinBLL b = new PinYinBLL();

            return(new HttpResponseMessage {
                Content = new StringContent(b.GetDepName2(DepName, CompanyId), Encoding.GetEncoding("UTF-8"), "text/json")
            });
        }
Пример #2
0
        public object GetUserName(string pinyin, string CompanyId)
        {
            //Log.AppLog("aaaa:" + pinyin + CompanyId);
            PinYinBLL b = new PinYinBLL();

            return(new HttpResponseMessage {
                Content = new StringContent(b.GetUserName(pinyin, CompanyId), Encoding.GetEncoding("UTF-8"), "text/json")
            });
        }