예제 #1
0
        public ActionResult <string> GetUserName(int id)
        {
            string username = _baseUserBLL.GetEntity(e => e.Id == id).UserName;

            return(username);
        }
예제 #2
0
        public string Usertest(int id)
        {
            var Entitys = _baseUserBLL.GetEntity(e => e.Id == id);

            return("数量为:" + Entitys.UserName);
        }