예제 #1
0
        public List <StaffMaster> GetEmployeeListForLibrary()
        {
            List <StaffMaster> StaffMasterList        = StaffMasterIntegration.GetEmployeeList();
            List <StaffMaster> StaffMasterList_Filter = (from x in StaffMasterList
                                                         where !x.EmployeeName.Contains("ADMIN")
                                                         select x).OrderBy(a => a.EmployeeName).ToList();

            return(StaffMasterList_Filter);
        }
예제 #2
0
        public List <StaffMaster> GetEmployeeList()
        {
            //return StaffMasterIntegration.GetEmployeeList();

            string UniqueKey = "GetEmployeeList";

            if (HttpRuntime.Cache[UniqueKey] == null)
            {
                List <StaffMaster> StaffMasterList = StaffMasterIntegration.GetEmployeeList();
                HttpRuntime.Cache[UniqueKey] = StaffMasterList;
            }
            return((List <StaffMaster>)(HttpRuntime.Cache[UniqueKey]));
        }
예제 #3
0
 public List <StaffMaster> GetEmployeeList()
 {
     return(StaffMasterIntegration.GetEmployeeList());
 }