public static string GetCellCode(this DashboardMaster dashboard, string productID) { string key = productID; if (string.IsNullOrEmpty(key)) { return(null); } var maps = dashboard.CellCodeMaps; string cellCode; if (maps.TryGetValue(key, out cellCode)) { return(cellCode); } return(null); }
public static void AddCellCodeMaps(this DashboardMaster dashboard, string productID, string cellCode) { if (string.IsNullOrEmpty(cellCode)) { return; } string key = productID; if (string.IsNullOrEmpty(key)) { return; } var maps = dashboard.CellCodeMaps; if (maps.ContainsKey(key)) { return; } maps.Add(key, cellCode); }
public DataSet GetCommonDashboardData(DashboardMaster obj) { DALCommon dal = new DALCommon(ConStr); return(dal.GetCommonDashboardData(obj)); }
public DataSet GetCommonDashboardData(DashboardMaster obj) { BALCommon bal = new BALCommon(ConStr); return(bal.GetCommonDashboardData(obj)); }
public DataSet GetCommonDashboardData(DashboardMaster obj) { DataSet ds = new DataSet(); return(ds); }