Esempio n. 1
0
 public T_HR_NOATTENDCARDEMPLOYEES GetNoAttendCardEmployeesByID(string strOverTimeRecordId)
 {
     using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL())
     {
         return(bllOverTimeRecord.GetRecordByID(strOverTimeRecordId));
     }
 }
Esempio n. 2
0
 public string AddNoAttendCardEmployeesRd(T_HR_NOATTENDCARDEMPLOYEES entOTRd)
 {
     using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL())
     {
         string str = string.Empty;
         if (bllOverTimeRecord.GetRecordByID(entOTRd.NOATTENDCARDEMPLOYEESID) != null)
         {
             bllOverTimeRecord.Update(entOTRd);
             str = "Sucess";
         }
         else
         {
             if (bllOverTimeRecord.Add(entOTRd))
             {
                 str = "Sucess";
             }
             else
             {
                 str = "false";
             }
         }
         return(str);
     }
 }
Esempio n. 3
0
        public string AddNoAttendCardEmployeesRd(T_HR_NOATTENDCARDEMPLOYEES entOTRd)
        {
            using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL())
            {
                string str = string.Empty;
                if (bllOverTimeRecord.GetRecordByID(entOTRd.NOATTENDCARDEMPLOYEESID) != null)
                {
                    bllOverTimeRecord.Update(entOTRd);
                    str = "Sucess";
                }
                else
                {
                    if (bllOverTimeRecord.Add(entOTRd))
                    {
                        str = "Sucess";
                    }
                    else
                        str = "false";
                }
                return str;

            }
        }
Esempio n. 4
0
 public T_HR_NOATTENDCARDEMPLOYEES GetNoAttendCardEmployeesByID(string strOverTimeRecordId)
 {
     using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL())
     {
         return bllOverTimeRecord.GetRecordByID(strOverTimeRecordId);
     }
 }