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