Пример #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));
 }