public bool IsSatisfied(Timesheet ts) { bool satisfied = false; if (ts.IsApproved()) { foreach (TimesheetEntry tse in ts.TimesheetEntries) { if (tse.Code.Equals(projCode)) { satisfied = true; } } } return(satisfied); }
public bool IsSatisfied(Timesheet ts) { bool satisfied = false; if (ts.IsApproved()) { foreach (TimesheetEntry tse in ts.TimesheetEntries) { if (tse.Code.Equals(projCode)) { satisfied = true; } } } return(satisfied); }