Exemplo n.º 1
0
        public IActionResult cau1B_findOrderByCustomerNameWithPaging([FromBody] SearchOrderReq req)
        {
            var res = new SingleRsp();

            res.Data = _svc.cau1B_findOrderByCustomerNameWithPaging(req.keyword, req.page, req.size);
            return(Ok(res));
        }
Exemplo n.º 2
0
        public IActionResult cau3A_findOrderByProductNameWithPaging_LinQ([FromBody] SearchOrderReq req)
        {
            var res = new SingleRsp();

            res.Data = _svc.cau3A_findOrderByProductNameWithPaging_LinQ(req.keyword, req.page, req.size);
            return(Ok(res));
        }
Exemplo n.º 3
0
        public IActionResult cau1A_getOrderByEmployeeNameWithPaging([FromBody] SearchOrderReq req)
        {
            var res = new SingleRsp();

            res.Data = _svc.cau1A_getOrderByEmployeeNameWithPaging(req.keyword, req.page, req.size);
            return(Ok(res));
        }
        public IActionResult SearchOrder([FromBody] SearchOrderReq req)
        {
            var res  = new SingleRsp();
            var ords = _svc.SearchOrder(req.Keyword, req.Page, req.Size);

            res.Data = ords;
            return(Ok(res));
        }