public EntryCollection GetEntries(string category, string acceptLanguages) { return(dataService.GetEntriesForCategory(category, acceptLanguages)); }
public EntryCollection GetEntries(string category, string acceptLanguages) { category = category.Replace(dasBlogSettings.SiteConfiguration.TitlePermalinkSpaceReplacement, "+"); return(dataService.GetEntriesForCategory(category, acceptLanguages)); }
public void BlogDataService_GetEntriesCategory_Successful(IBlogDataService blogdataservice) { var entries = blogdataservice.GetEntriesForCategory("A Random Mathematical Quotation", ""); Assert.Equal(7, entries.Count); }