Exemplo n.º 1
0
        public ActionResult DeliveryNotePageView(DeliveryNotePageQueryModel query)
        {
            var page  = _noteSearchService.GetDeliveryNotePage(query);
            var notes = page.PageData;

            if (notes.Any())
            {
                _noteWrappers.ToList().ForEach(wrapper =>
                {
                    wrapper.Wrapper(notes);
                });
            }
            ViewData["tableColumns"] = page.TableColumns;
            return(View(notes));
        }
 public PageModel <DeliveryNoteModel> GetDeliveryNotePage(DeliveryNotePageQueryModel query)
 {
     return(_notePageQueryer.QueryPage(query));
 }
Exemplo n.º 3
0
        public ActionResult DeliveryNotePage(DeliveryNotePageQueryModel query)
        {
            var page = _noteSearchService.GetDeliveryNotePage(query);

            return(Success(page));
        }