Example #1
0
        public DataTable GetUnFilteredApproveRejectProjectList()
        {
            Rave.HR.DataAccessLayer.Projects.Projects objApproveRejectProjectDAL;
            DataSet   dsApproveRejectProject;
            DataTable dt = new DataTable();

            try
            {
                objApproveRejectProjectDAL = new Rave.HR.DataAccessLayer.Projects.Projects();
                dsApproveRejectProject     = new DataSet();

                dsApproveRejectProject = objApproveRejectProjectDAL.GetPendingApprovalAndRejectedProjects();
                dt = dsApproveRejectProject.Tables[0];
            }
            catch (RaveHRException ex)
            {
                throw ex;
            }

            catch (Exception ex)
            {
                throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, "RaveHRProjects.cs", "GetUnFilteredApproveRejectProject", EventIDConstants.RAVE_HR_PROJECTS_BUSNIESS_LAYER);
            }
            return(dt);
        }