/// <summary> /// 根据ID得到评论 /// </summary> /// <param name="id"></param> /// <returns></returns> public IEnumerable <Comments> GetCommById(int id) { var userinfo = iuserinfo.GetCommById(id); return(userinfo); }