public static IAbsenceBO MapAbsenceDOtoBO(IAbsenceDO absenceDO)
        {
            IAbsenceBO oAbsence = new AbsenceBO();

            oAbsence.AbsenceTypeID = absenceDO.AbsenceTypeID;
            oAbsence.Name          = absenceDO.Name;
            oAbsence.TeamName      = absenceDO.TeamName;
            oAbsence.Point         = absenceDO.Point;
            oAbsence.Active        = absenceDO.Active;
            oAbsence.TeamID_FK     = absenceDO.TeamID_FK;
            oAbsence.AbsenceDate   = absenceDO.AbsenceDate;
            oAbsence.AbsentUserID  = absenceDO.AbsentUserID;
            oAbsence.Comments      = absenceDO.Comments;
            oAbsence.RunningTotal  = absenceDO.RunningTotal;
            oAbsence.TeamMgtID     = absenceDO.TeamMgtID;
            oAbsence.EmployeeName  = absenceDO.EmployeeName;
            oAbsence.PointBankID   = absenceDO.PointBankID;
            oAbsence.AbsenceType   = absenceDO.AbsenceType;

            return(oAbsence);
        }
        public static AbsencePO MapAbsenceBOtoPO(AbsenceBO absenceBO)
        {
            var oAbsence = new AbsencePO();

            oAbsence.AbsenceTypeID = absenceBO.AbsenceTypeID;
            oAbsence.Name          = absenceBO.Name;
            oAbsence.TeamName      = absenceBO.TeamName;
            oAbsence.Point         = absenceBO.Point;
            oAbsence.Active        = absenceBO.Active;
            oAbsence.TeamID_FK     = absenceBO.TeamID_FK;
            oAbsence.AbsenceDate   = absenceBO.AbsenceDate;
            oAbsence.AbsentUserID  = absenceBO.AbsentUserID;
            oAbsence.Comments      = absenceBO.Comments;
            oAbsence.RunningTotal  = absenceBO.RunningTotal;
            oAbsence.TeamMgtID     = absenceBO.TeamMgtID;
            oAbsence.Status        = absenceBO.Status;
            oAbsence.PointBankID   = absenceBO.PointBankID;
            oAbsence.EmployeeName  = absenceBO.EmployeeName;
            oAbsence.AbsenceType   = absenceBO.AbsenceType;

            return(oAbsence);
        }