public string Get_Orders(Get_Orders_Request request) { var response = this.Get_Orders_Data(request); string json = JsonConvert.SerializeObject(response); return(json); }
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); }
private Get_Orders_Response Get_Orders_Data(Get_Orders_Request request) { var response = _IProductService.GetOrders(request); return(response); }