Beispiel #1
0
        public static DateTime GetCurrentPayPeriodStartDate()
        {
            var dr = PayrollSQL.GetCurrentPayPeriodStartDate();

            while (dr.Read())
            {
                return(Convert.ToDateTime(dr[0]));
            }
            throw new DataException("Error!");
        }
Beispiel #2
0
 public static List <Year> GetDetails(int empId)
 {
     return(RePackage(PayrollSQL.GetFiveHighestPaidYears(empId)));
 }
Beispiel #3
0
 public static void Run()
 {
     PayrollSQL.Run();
 }