public List <PERMITDC> LoadDashboard(string projectIDs = "All", string permitStatus = "All", string clientIDs = "All", string jobFileNo = "All", string submitedStartDt = "All", string submitedEndDt = "All") { DBConnection objConnection = new DBConnection(); PERMITDA objPERMITDA = new PERMITDA(); List <PERMITDC> objPERMITDC = null; try { objConnection.Open(false); objPERMITDC = objPERMITDA.LoadDashboard(objConnection, projectIDs, permitStatus, clientIDs, jobFileNo, submitedStartDt, submitedEndDt); } catch (Exception ex) { throw ex; } finally { objConnection.Close(); } return(objPERMITDC); }