public void GetEmployeeContractEngineXml(T_HR_EMPLOYEECONTRACT entity) { using (EmployeeContractBLL bll = new EmployeeContractBLL()) { bll.GetEmployeeContractEngineXml(entity); } }
public void EmployeeContractAlarm(T_HR_EMPLOYEECONTRACT entity) { using (EmployeeContractBLL bll = new EmployeeContractBLL()) { bll.EmployeeContractAlarm(entity); } }
public T_HR_EMPLOYEECONTRACT GetEmployeeContractByEmployeeID(string employeeID) { using (EmployeeContractBLL bll = new EmployeeContractBLL()) { return bll.GetEmployeeContractByEmployeeID(employeeID); } }
public bool EmployeeContractDelete(string[] employeeContractIDs) { using (EmployeeContractBLL bll = new EmployeeContractBLL()) { int rslt = bll.EmployeeContractDelete(employeeContractIDs); return (rslt > 0); } }
//public void EmployeeContractAdd(T_HR_EMPLOYEECONTRACT entity, UploadFileModel uploadFile) //{ // string strPath; // EmployeeContractBLL bll = new EmployeeContractBLL(); // SaveFile(uploadFile, out strPath); // strPath = HttpContext.Current.Server.MapPath(strPath); // entity.ATTACHMENTPATH = strPath; // bll.EmployeeContractAdd(entity); //} public void EmployeeContractAdd(T_HR_EMPLOYEECONTRACT entity, ref string strMsg) { using (EmployeeContractBLL bll = new EmployeeContractBLL()) { bll.EmployeeContractAdd(entity, ref strMsg); } }
public List<V_EMPLOYEECONTACT> EmployeeContractViewPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string strCheckState, string userID, string startToDate, string endToDate, string employeeState) { using (EmployeeContractBLL bll = new EmployeeContractBLL()) { IQueryable<V_EMPLOYEECONTACT> q = bll.EmployeeContractViewPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, strCheckState, userID, startToDate, endToDate, employeeState); if (q != null) { return q.Count() > 0 ? q.ToList() : null; } else { return null; } } }
public List<T_HR_EMPLOYEECONTRACT> EmployeeContractsPaging(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string sType, string sValue, string strCheckState, string ownerID) { using (EmployeeContractBLL bll = new EmployeeContractBLL()) { IQueryable<T_HR_EMPLOYEECONTRACT> q = bll.EmployeeContractsPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, sType, sValue, strCheckState, ownerID); if (q != null) { return q.Count() > 0 ? q.ToList() : null; } else { return null; } } }