public List <Order> GetOrderList(string userId)
        {
            if (userId == null)
            {
                userId = string.Empty;
            }

            return(_orderDal.GetOrders(userId));
        }
Beispiel #2
0
 public List <Order> GetOrders(string userId)
 {
     return(_orderDal.GetOrders(userId));
 }
Beispiel #3
0
 public List <Order> GetOrders(int?userId)
 {
     return(_orderDal.GetOrders((int)userId).ToList());
 }
Beispiel #4
0
 /// <summary>
 /// 设置或获取订单列表
 /// </summary>
 /// <param name="status"></param>
 /// <param name="buyUid"></param>
 /// <returns></returns>
 public IList <OrderListModel> GetOrders(OrderStatus status, int buyUid)
 {
     return(_orderDal.GetOrders(status, buyUid));
 }
Beispiel #5
0
 public List <UserOrderModel> GetOrders(string username)
 {
     return(_orderDal.GetOrders(username));
 }