public Resultado <Entity> GetById(int id) { return(dao.GetById(id)); }
/// <summary> /// 根据Id获取对应的实体 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="id">实体Id</param> /// <returns></returns> public T GetById(int id) { return(_iBaseManager.GetById(id)); }