public ActionResult <string> GetUserName(int id) { string username = _baseUserBLL.GetEntity(e => e.Id == id).UserName; return(username); }
public string Usertest(int id) { var Entitys = _baseUserBLL.GetEntity(e => e.Id == id); return("数量为:" + Entitys.UserName); }