public bool GetAllIn(long emplid, DateTime date) { ListEmployeeAllIn manager = GetManager(emplid);; bool bAllIn = false; if (manager != null) { bAllIn = manager.GetAllIn(date); } return(bAllIn); }
public bool GetAllIn(long emplid, DateTime monday, DateTime sunday) { Debug.Assert((monday.DayOfWeek == DayOfWeek.Monday) && (sunday.DayOfWeek == DayOfWeek.Sunday)); ListEmployeeAllIn manager = GetManager(emplid); bool bAllIn = false; if (manager != null) { bAllIn = manager.GetAllIn(monday, sunday); } return(bAllIn); }