public ActionResult GetCashierReportPDF(int CashierId, DateTime ReportDate)
        {
            CashierReportQuery query = new CashierReportQuery();

            query.Cashier = CashierId;
            query.Date    = ReportDate;

            CashierReport report = reportrepo.GetCashierReport(query);

            return(new Rotativa.ViewAsPdf("CashierReportPDF", report));
        }
        public ActionResult GetCashierReport(CashierReportQuery ins)
        {
            CashierReport report = reportrepo.GetCashierReport(ins);

            return(View(report));
        }