Example #1
0
 public bool IsDuplicate(HRPaidTimeOffDataContext db, int ptoVacationBankId, int entUserAccountId, short vacationYear)
 {
     return(db.PTOVacationBankIsDuplicate(ptoVacationBankId, entUserAccountId, vacationYear).Single().CountOfDuplicates > 0);
 }