示例#1
0
        public ActionResult Print(int billNo)
        {
            var bill         = _billingContext.GetBill(billNo);
            var billingItems = _billingContext.GetBillingItems(billNo).ToList();
            var model        = GetPrintViewModel(bill, billingItems.ToList());

            return(View(model));
        }