Exemplo n.º 1
0
        //获取用户的所有有效订单数据
        public Result <List <OrderViewModel> > GetUserAllOrder(int userId, List <int> orderStatus)
        {
            var result = new Result <List <OrderViewModel> >();

            result.Data   = orderDataAccess.GetUserAllOrder(userId, orderStatus);
            result.Status = new Status()
            {
                Code = "1"
            };
            return(result);
        }