protected void Page_Load(object sender, EventArgs e) { StoreHomeController shc = new StoreHomeController(); lblRecentRequest.Text = shc.getOutstandingRequests().ToString(); lblPendingDiscrepencies.Text = shc.pendingDiscrepancy("StoreSup").ToString(); }
protected void Page_Load(object sender, EventArgs e) { StoreHomeController _storehomecontroller = new StoreHomeController(); lblRecenRequests.Text = _storehomecontroller.getOutstandingRequests().ToString(); lblLowStockAlert.Text = _storehomecontroller.getLowLevelStock().ToString(); lblApprovedRequests.Text = _storehomecontroller.getApprovedRequests().ToString(); lblPendingDiscrepacies.Text = _storehomecontroller.pendingDiscrepancy("").ToString(); }