public T_HR_NOATTENDCARDEMPLOYEES GetNoAttendCardEmployeesByID(string strOverTimeRecordId) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { return(bllOverTimeRecord.GetRecordByID(strOverTimeRecordId)); } }
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); } }
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; } }
public T_HR_NOATTENDCARDEMPLOYEES GetNoAttendCardEmployeesByID(string strOverTimeRecordId) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { return bllOverTimeRecord.GetRecordByID(strOverTimeRecordId); } }