Пример #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 int UpdateEmployeeContactInfo(StaffMaster theStaffMaster)
 {
     return(StaffMasterIntegration.UpdateEmployeeContactInfo(theStaffMaster));
 }
Пример #4
0
 public int UpdateEmployee(StaffMaster theStaffMaster, string CourseIDs, string Boards, string PassingYears, string Divisions, string PercentageMarks)
 {
     return(StaffMasterIntegration.UpdateEmployee(theStaffMaster, CourseIDs, Boards, PassingYears, Divisions, PercentageMarks));
 }
Пример #5
0
 public List <StaffMaster> GetCompanyEmployeeList()
 {
     return(StaffMasterIntegration.GetCompanyEmployeeList());
 }
Пример #6
0
 public List <StaffMaster> GetEmployeesListbyofficeid(int OfficeID)
 {
     return(StaffMasterIntegration.GetEmployeesListbyofficeid(OfficeID));
 }
Пример #7
0
 public List <StaffMaster> GetEmployeeDetailsByFieldFoce(string OfficeIDs, string DateFrom, string DateTo, string ApprovalStatus)
 {
     return(StaffMasterIntegration.GetEmployeeDetailsByFieldForce(OfficeIDs, DateFrom, DateTo, ApprovalStatus));
 }
Пример #8
0
        public DataTable GetEmployeesSearchAll(string searchText)
        {
            DataTable StffTable = StaffMasterIntegration.GetEmployeesSearchAll(searchText);

            return(StffTable);
        }
Пример #9
0
 public StaffMaster GetEmployeeByEmployeeCode(string employeeCode)
 {
     return(StaffMasterIntegration.GetEmployeeByEmployeeCode(employeeCode));
 }
Пример #10
0
 public StaffMaster GetEmployeeByID(int EmployeeID)
 {
     return(StaffMasterIntegration.GetEmployeeDetailsByID(EmployeeID));
 }
Пример #11
0
 public List <StaffMaster> GetEmployeeListByOfficeandDepartment(int DepartmentID, int OfficeID)
 {
     return(StaffMasterIntegration.GetCompanyEmployeeListByOfficeandDepartment(DepartmentID, OfficeID));
 }
Пример #12
0
 public List <StaffMaster> GetEmployeesAllByCompany(int CompanyID = -1)
 {
     return(StaffMasterIntegration.GetEmployeesAllByCompany(CompanyID));
 }
Пример #13
0
 public List <StaffMaster> GetOfficeEmployeeList()
 {
     return(StaffMasterIntegration.GetOfficeEmployeeList());
 }
Пример #14
0
 public List <StaffMaster> GetDuplicateEmployeeList(string employeeName, string fatherName, string dateofBirth, bool allOffices = false, bool showDeleted = false)
 {
     return(StaffMasterIntegration.GetDuplicateEmployeeList(employeeName, fatherName, dateofBirth, allOffices, showDeleted));
 }
Пример #15
0
 public int DeleteEmployee(StaffMaster theStaffMaster)
 {
     return(StaffMasterIntegration.DeleteEmployee(theStaffMaster));
 }
Пример #16
0
 public List <StaffMaster> GetEmployeesListByOfficeID()
 {
     return(StaffMasterIntegration.GetEmployeesListByOfficeID());
 }
Пример #17
0
 public List <StaffMaster> GetReportingEmployeesAllByEmployee(int EmployeeID)
 {
     return(StaffMasterIntegration.GetReportingEmployeesAllByEmployee(EmployeeID));
 }
Пример #18
0
 public List <StaffMaster> GetEmployeeDetailsByGuarantorLoan(string OfficeIDs, string DateFrom, string DateTo, string ApprovalStatus)
 {
     return(StaffMasterIntegration.GetEmployeeDetailsByGuarantorLoan(OfficeIDs, DateFrom, DateTo, ApprovalStatus));
 }
Пример #19
0
 public List <StaffMaster> GetPolicyEmployeesAll()
 {
     return(StaffMasterIntegration.GetPolicyEmployeesAll());
 }