public T_HR_LEFTOFFICE GetLeftOfficeByEmployeeIDAndPostID(string EmployeeID, string Postid) { using (LeftOfficeBLL bll = new LeftOfficeBLL()) { return bll.GetLeftOfficeByEmployeeIDAndPostID(EmployeeID, Postid); } }
public T_HR_LEFTOFFICE GetLeftOfficeByID(string dimissionID) { using (LeftOfficeBLL bll = new LeftOfficeBLL()) { return bll.GetLeftOfficeByID(dimissionID); } }
public int LeftOfficeDelete(string[] dimissionIDs) { using (LeftOfficeBLL bll = new LeftOfficeBLL()) { int rslt = bll.LeftOfficeDelete(dimissionIDs); return rslt; } }
public void LeftOfficeUpdate(T_HR_LEFTOFFICE entity, ref string strMsg) { using (LeftOfficeBLL bll = new LeftOfficeBLL()) { bll.LeftOfficeUpdate(entity, ref strMsg); } }
public List<V_LEFTOFFICEVIEW> LeftOfficeViewsPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, DateTime dtStart, DateTime dtEnd, ref int pageCount, string userID, string CheckState) { using (LeftOfficeBLL bll = new LeftOfficeBLL()) { IQueryable<V_LEFTOFFICEVIEW> q = bll.LeftOfficeViewsPaging(pageIndex, pageSize, sort, filterString, paras, dtStart, dtEnd, ref pageCount, userID, CheckState); if (q != null) { return q.Count() > 0 ? q.ToList() : null; } else { return null; } } // return q.Count() > 0 ? q.ToList() : null; }
public byte[] ExportLeftOfficeViews(string filterString, IList<object> paras, DateTime dtStart, DateTime dtEnd, string userID, string CheckState) { using (LeftOfficeBLL bll = new LeftOfficeBLL()) { return bll.ExportLeftOfficeViews(filterString, paras, dtStart, dtEnd, userID, CheckState); } }