Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/// <summary> /// true if is not timeday and not date offset /// true if is holiday /// </summary> /// <param name="date"></param> /// <returns></returns> public bool IsHolidayOrDayOff(DateTime date) { return((!_timeDayRepository.IsTimeDay(date) && _holidayRepository.GetSingleByCondition(x => x.Workingday == date) == null) || _holidayRepository.IsHoliday(date)); }