public List<T_HR_BALANCEPOSTDETAIL> GetBalancePostsByBalanceID(string asignID, ref T_HR_EMPLOYEESALARYPOSTASIGN asign) { using (EmployeeBalancePostBLL bll = new EmployeeBalancePostBLL()) { return bll.GetBalancePostsByBalanceID(asignID, ref asign); } }
public bool EmployeeBalancePostDetailsDelete(string[] IDs) { using (EmployeeBalancePostBLL bll = new EmployeeBalancePostBLL()) { int rslt = bll.BalancePostDetailDelete(IDs); return (rslt > 0); } }
public List<T_HR_EMPLOYEESALARYPOSTASIGN> GetEmployeeBalancePostWithPaging(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount, string employeeName, string postID, string userID, string CheckState, int orgtype, string orgid) { using (EmployeeBalancePostBLL bll = new EmployeeBalancePostBLL()) { IQueryable<T_HR_EMPLOYEESALARYPOSTASIGN> q = bll.QueryWithPaging(pageIndex, pageSize, sort, filterString, paras, ref pageCount, employeeName, postID, userID, CheckState, orgtype, orgid); if (q != null) { return q.Count() > 0 ? q.ToList() : null; } else { return null; } } }
public string BalancePostUpdate(T_HR_EMPLOYEESALARYPOSTASIGN obj, List<T_HR_BALANCEPOSTDETAIL> details, string flag, ref string strResult) { using (EmployeeBalancePostBLL bll = new EmployeeBalancePostBLL()) { return bll.BalancePostUpdate(obj, details, flag, ref strResult); } }