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