示例#1
0
        private void SalesReportUiController_Load(object sender, EventArgs e)
        {
            startDateErrorLabel.Text = "";
            endDateErrorLabel.Text   = "";

            SalesReportDataGridView.DataSource = _sharedManager.GetSalesReport();
        }
示例#2
0
        public ActionResult SearchSaleReport(DateTime startDate, DateTime endDate)
        {
            var saleReports = _sharedManager.GetSalesReport(startDate, endDate).Where(x => x.SoldQty != 0).ToList();

            return(PartialView("_SaleReportListing", saleReports));
        }