public ActionResult PrintBill(string CPno, int QueueID) { try { BillPrint bill = new BillPrint(); bill = BL.PrintBill(QueueID, CPno); return(null); } catch (Exception ex) { throw ex; } }
public ActionResult PrintDentalView(string Print) { Bal_ExpensesDetails BL = new Bal_ExpensesDetails(); BillPrint bill = new BillPrint(); int QueueID = Convert.ToInt16(Session["QueueID"].ToString()); string CPno = Session["CPno"].ToString(); bill = BL.PrintBill(QueueID, CPno); return(PartialView("PrintDental", bill)); }