public void PopulateGridViewForSupervisor() { List <Adjustment> adjustment = storeMgController.ListOfPendingAdjustmentByManager(); if (adjustment.Count == 0) { lblErrorMsg.Text = "No pending Adjustment request"; } gvPendingAdjutment.DataSource = adjustment; gvPendingAdjutment.DataBind(); }
private int CountPendingAdjStoreManager() { return(smCtrl.ListOfPendingAdjustmentByManager().Count()); }