/// <summary> /// Returns a random date between 1000 days in the past and 1007 days in the future on a certain day. /// </summary> /// <param name="dayOfWeek">The day of the week that should be generated.</param> public DateTime GenerateDateTimeByWeekDay(DayOfWeek dayOfWeek) => _context.GenerateDateTimeByWeekDay(dayOfWeek);