Ejemplo n.º 1
0
        public ActionResult SearchCollection(DateTime startDate, DateTime endDate)
        {
            var viewModel = new DisbursementRetrievalViewModel()
            {
                GroupedItemDisbursements = itemDisbursementService.groupItemDisbursementsByDateRange(startDate, endDate)
            };

            return(View("Collection", viewModel));
        }
Ejemplo n.º 2
0
        public ActionResult Index()
        {
            var viewModel = new DisbursementRetrievalViewModel()
            {
                Disbursements            = disbursementService.GetAll().Where(x => x.Status == CustomStatus.ForRetrieval).ToList(),
                GroupedItemDisbursements = itemDisbursementService.groupItemDisbursementByItemID()
            };

            return(View(viewModel));
        }