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