コード例 #1
0
 public Attendance GetEmployeeAttendanceByDate(int EmployeeID, DateTime DateOfAttendance)
 {
     try
     {
         return(AttendanceIntegration.GetEmployeeAttendanceByDate(EmployeeID, DateOfAttendance));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
コード例 #2
0
 public void InsertAttendance(int EmployeeID, DateTime PunchDateTime, Micro.Commons.MicroEnums.AttendanceType AttendanceType)
 {
     try
     {
         AttendanceIntegration.InsertAttendance(EmployeeID, PunchDateTime, AttendanceType);
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
コード例 #3
0
        //public DataTable GetEmployeeDetailsAttendanceRegister(int EmployeeID, int _Month, int _Year)
        //{
        //    try
        //    {
        //        return AttendanceIntegration.GetEmployeeDetailsAttendanceRegister(EmployeeID, _Month, _Year);
        //    }
        //    catch (Exception ex)
        //    {
        //        throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
        //    }
        //}

        public List <Attendance> GetEmployeeDetailsAttendanceRegister(int EmployeeID, int _Month, int _Year)
        {
            return(AttendanceIntegration.GetEmployeeDetailsAttendanceRegister(EmployeeID, _Month, _Year));
        }
コード例 #4
0
 public List <Attendance> GetEmployeeDetailsAttendanceRegisterSummaryByDepartmentID(int DepartmentID, int _Month, int _Year)
 {
     return(AttendanceIntegration.GetEmployeeDetailsAttendanceRegisterSummaryByDepartmentID(DepartmentID, _Month, _Year));
 }