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)); }