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)); } }
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)); } }
//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)); }
public List <Attendance> GetEmployeeDetailsAttendanceRegisterSummaryByDepartmentID(int DepartmentID, int _Month, int _Year) { return(AttendanceIntegration.GetEmployeeDetailsAttendanceRegisterSummaryByDepartmentID(DepartmentID, _Month, _Year)); }