public bool DateOfCompleteCheck(DateTime dateOfComplete, IDriverDB driver) { return(dateOfComplete.Date >= driver.GetPaymenstByProjectMaxDate(id) && dateOfComplete.Date >= driver.GetWorkLogByProjectMaxDate(id)); }