/// <summary> /// 获取所有用户 /// </summary> /// <param name="status">状态</param> /// <returns></returns> public List<Users> GetAllUser(AccountStatusEnum status) { UsersLogic ul = new UsersLogic(); var where = string.Format(" Status = {0}", (int)status); return ul.GetAllUser(where); }
/// <summary> /// 获取所有用户 /// </summary> /// <returns></returns> public List<Users> GetAllUser() { UsersLogic ul = new UsersLogic(); return ul.GetAllUser(""); }