Example #1
0
 public string RemoveShiftDefine(string strShiftDefineId)
 {
     using (ShiftDefineBLL bllShiftDefine = new ShiftDefineBLL())
     {
         return bllShiftDefine.DeleteShiftDefine(strShiftDefineId);
     }
 }
Example #2
0
        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();
            }

        }
Example #3
0
 public string ModifyShiftDefine(T_HR_SHIFTDEFINE entTemp)
 {
     using (ShiftDefineBLL bllShiftDefine = new ShiftDefineBLL())
     {
         return bllShiftDefine.ModifyShiftDefine(entTemp);
     }
 }
Example #4
0
 public T_HR_SHIFTDEFINE GetShiftDefineByID(string strShiftDefineId)
 {
     using (ShiftDefineBLL bllShiftDefine = new ShiftDefineBLL())
     {
         return bllShiftDefine.GetShiftDefineByID(strShiftDefineId);
     }
 }