Exemplo n.º 1
0
 public EntryCollection GetEntries(string category, string acceptLanguages)
 {
     return(dataService.GetEntriesForCategory(category, acceptLanguages));
 }
Exemplo n.º 2
0
 public EntryCollection GetEntries(string category, string acceptLanguages)
 {
     category = category.Replace(dasBlogSettings.SiteConfiguration.TitlePermalinkSpaceReplacement, "+");
     return(dataService.GetEntriesForCategory(category, acceptLanguages));
 }
Exemplo n.º 3
0
        public void BlogDataService_GetEntriesCategory_Successful(IBlogDataService blogdataservice)
        {
            var entries = blogdataservice.GetEntriesForCategory("A Random Mathematical Quotation", "");

            Assert.Equal(7, entries.Count);
        }