public void BlogDataService_ArchiveMonthSearch_Successful(IBlogDataService blogdataservice) { var dt = new DateTime(2004, 3, 1); var entries = blogdataservice.GetEntriesForMonth(dt, DateTimeZone.Utc, ""); Assert.Equal(5, entries.Count); }
public EntryCollection GetEntriesForMonth(DateTime date, string acceptLanguages) { return(dataService.GetEntriesForMonth(date, dasBlogSettings.GetConfiguredTimeZone(), acceptLanguages)); }