public T_HR_NOATTENDCARDEMPLOYEES GetNoAttendCardEmployeesByID(string strOverTimeRecordId) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { return(bllOverTimeRecord.GetRecordByID(strOverTimeRecordId)); } }
public bool DeleteNoAttendCardEmployeesRd(string[] strOverTimeRecordId) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { int rslt = bllOverTimeRecord.DeleteRecordByIds(strOverTimeRecordId); return(rslt > 0); } }
public List <T_HR_NOATTENDCARDEMPLOYEES> GetNoAttendCardEmployeesPaging(int pageIndex, int pageSize, string sort, string filterString, List <object> paras, ref int pageCount, string strCheckState, string strOwnerID) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { var ents = bllOverTimeRecord.GetNoAttendCardEmployeesPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, strCheckState, strOwnerID); if (ents == null) { return(null); } return(ents.ToList()); } }
public string UpdateNoAttendCardEmployeesRd(T_HR_NOATTENDCARDEMPLOYEES entOTRd) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { string str = string.Empty; if (bllOverTimeRecord.Update(entOTRd) == 1) { 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 bool DeleteNoAttendCardEmployeesRd(string[] strOverTimeRecordId) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { int rslt = bllOverTimeRecord.DeleteRecordByIds(strOverTimeRecordId); return (rslt > 0); } }
public string UpdateNoAttendCardEmployeesRd(T_HR_NOATTENDCARDEMPLOYEES entOTRd) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { string str = string.Empty; if (bllOverTimeRecord.Update(entOTRd)==1) { 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); } }
public List<T_HR_NOATTENDCARDEMPLOYEES> GetNoAttendCardEmployeesPaging(int pageIndex, int pageSize, string sort, string filterString, List<object> paras, ref int pageCount, string strCheckState, string strOwnerID) { using (NoAttendCardEmployeesBLL bllOverTimeRecord = new NoAttendCardEmployeesBLL()) { var ents = bllOverTimeRecord.GetNoAttendCardEmployeesPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, strCheckState, strOwnerID); if (ents == null) { return null; } return ents.ToList(); } }