Example #1
0
        public IActionResult GiftOrderList(string searchText, string orderStatus = "UnShipped", int pageIndex = 1, int pageSize = 20)
        {
            var model = _orderService.GetGiftOrderList(searchText, orderStatus, pageIndex, pageSize);

            ViewBag.orderStatus = orderStatus;
            return(PartialView("_pvGiftOrderList", model));
        }
Example #2
0
        public IActionResult GiftOrderList(int customerId, int index = 1, int pageSize = 10)
        {
            var model = _giftOrderService.GetGiftOrderList(customerId, index, pageSize);

            return(Ok(model));
        }