예제 #1
0
 public static bool UpdateEmpPayment(EmpPayment empPayment)
 {
     return(EmployeeDb.UpdateEmpPayment(empPayment.Id, empPayment.EmployeeId, empPayment.Amount,
                                        empPayment.DateTime.ToShortDateString(),
                                        empPayment.Note));
 }
예제 #2
0
 public static bool AddEmpPayment(EmpPayment empPayment)
 {
     return(EmployeeDb.AddEmpPayment(empPayment.Id, empPayment.EmployeeId, empPayment.Amount,
                                     empPayment.DateTime,
                                     empPayment.Note));
 }