Exemplo n.º 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);
        }
Exemplo n.º 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]));
        }
Exemplo n.º 3
0
 public int UpdateEmployeeContactInfo(StaffMaster theStaffMaster)
 {
     return(StaffMasterIntegration.UpdateEmployeeContactInfo(theStaffMaster));
 }
Exemplo n.º 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));
 }
Exemplo n.º 5
0
 public List <StaffMaster> GetCompanyEmployeeList()
 {
     return(StaffMasterIntegration.GetCompanyEmployeeList());
 }
Exemplo n.º 6
0
 public List <StaffMaster> GetEmployeesListbyofficeid(int OfficeID)
 {
     return(StaffMasterIntegration.GetEmployeesListbyofficeid(OfficeID));
 }
Exemplo n.º 7
0
 public List <StaffMaster> GetEmployeeDetailsByFieldFoce(string OfficeIDs, string DateFrom, string DateTo, string ApprovalStatus)
 {
     return(StaffMasterIntegration.GetEmployeeDetailsByFieldForce(OfficeIDs, DateFrom, DateTo, ApprovalStatus));
 }
Exemplo n.º 8
0
        public DataTable GetEmployeesSearchAll(string searchText)
        {
            DataTable StffTable = StaffMasterIntegration.GetEmployeesSearchAll(searchText);

            return(StffTable);
        }
Exemplo n.º 9
0
 public StaffMaster GetEmployeeByEmployeeCode(string employeeCode)
 {
     return(StaffMasterIntegration.GetEmployeeByEmployeeCode(employeeCode));
 }
Exemplo n.º 10
0
 public StaffMaster GetEmployeeByID(int EmployeeID)
 {
     return(StaffMasterIntegration.GetEmployeeDetailsByID(EmployeeID));
 }
Exemplo n.º 11
0
 public List <StaffMaster> GetEmployeeListByOfficeandDepartment(int DepartmentID, int OfficeID)
 {
     return(StaffMasterIntegration.GetCompanyEmployeeListByOfficeandDepartment(DepartmentID, OfficeID));
 }
Exemplo n.º 12
0
 public List <StaffMaster> GetEmployeesAllByCompany(int CompanyID = -1)
 {
     return(StaffMasterIntegration.GetEmployeesAllByCompany(CompanyID));
 }
Exemplo n.º 13
0
 public List <StaffMaster> GetOfficeEmployeeList()
 {
     return(StaffMasterIntegration.GetOfficeEmployeeList());
 }
Exemplo n.º 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));
 }
Exemplo n.º 15
0
 public int DeleteEmployee(StaffMaster theStaffMaster)
 {
     return(StaffMasterIntegration.DeleteEmployee(theStaffMaster));
 }
Exemplo n.º 16
0
 public List <StaffMaster> GetEmployeesListByOfficeID()
 {
     return(StaffMasterIntegration.GetEmployeesListByOfficeID());
 }
Exemplo n.º 17
0
 public List <StaffMaster> GetReportingEmployeesAllByEmployee(int EmployeeID)
 {
     return(StaffMasterIntegration.GetReportingEmployeesAllByEmployee(EmployeeID));
 }
Exemplo n.º 18
0
 public List <StaffMaster> GetEmployeeDetailsByGuarantorLoan(string OfficeIDs, string DateFrom, string DateTo, string ApprovalStatus)
 {
     return(StaffMasterIntegration.GetEmployeeDetailsByGuarantorLoan(OfficeIDs, DateFrom, DateTo, ApprovalStatus));
 }
Exemplo n.º 19
0
 public List <StaffMaster> GetPolicyEmployeesAll()
 {
     return(StaffMasterIntegration.GetPolicyEmployeesAll());
 }