public int PrepareMonthAttendanceRegisterForOffice(int Month, int Year) { try { return(BioMetricDeviceIntegration.PrepareMonthAttendanceRegisterForOffice(Month, Year)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }