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); }
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])); }
public List <StaffMaster> GetEmployeeList() { return(StaffMasterIntegration.GetEmployeeList()); }