public string RemoveShiftDefine(string strShiftDefineId) { using (ShiftDefineBLL bllShiftDefine = new ShiftDefineBLL()) { return bllShiftDefine.DeleteShiftDefine(strShiftDefineId); } }
public List<T_HR_SHIFTDEFINE> GetShiftDefineListByMultSearch(string strOwnerID, string strShiftDefineName, string strCompanyID, string strSortKey, int pageIndex, int pageSize, ref int pageCount) { using (ShiftDefineBLL bllShiftDefine = new ShiftDefineBLL()) { var ents = bllShiftDefine.GetShiftDefineListByMultSearch(strOwnerID, strShiftDefineName, strCompanyID, strSortKey, pageIndex, pageSize, ref pageCount).ToList(); if (ents == null) { return null; } return ents.ToList(); } }
public string ModifyShiftDefine(T_HR_SHIFTDEFINE entTemp) { using (ShiftDefineBLL bllShiftDefine = new ShiftDefineBLL()) { return bllShiftDefine.ModifyShiftDefine(entTemp); } }
public T_HR_SHIFTDEFINE GetShiftDefineByID(string strShiftDefineId) { using (ShiftDefineBLL bllShiftDefine = new ShiftDefineBLL()) { return bllShiftDefine.GetShiftDefineByID(strShiftDefineId); } }