示例#1
0
        public string Get_Orders(Get_Orders_Request request)
        {
            var    response = this.Get_Orders_Data(request);
            string json     = JsonConvert.SerializeObject(response);

            return(json);
        }
示例#2
0
        public Get_Orders_Response GetOrders(Get_Orders_Request request)
        {
            var data    = _IOrderRepository.GetPage(request.Page, w => true, x => x.Id);
            var retData = Mapper.Map <ResponseBase <List <Order> >, Get_Orders_Response>(data);

            return(retData);
        }
示例#3
0
        private Get_Orders_Response Get_Orders_Data(Get_Orders_Request request)
        {
            var response = _IProductService.GetOrders(request);

            return(response);
        }