public List<T_HR_EMPLOYEE> GetEmployeesWithOutPermissions(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string sType, string sValue) { using (EmployeeBLL bll = new EmployeeBLL()) { IQueryable<T_HR_EMPLOYEE> q = bll.GetEmployeesWithOutPermissions(pageIndex, pageSize, sort, filterString, paras, ref pageCount, sType, sValue); return q.Count() > 0 ? q.ToList() : null; } }