示例#1
0
        public void UserDictionaryServiceTest_GetAllCategories_count()
        {
            var expected = rep.GetAllCategories(1).Count();
            var actual   = service.GetAllCategories(1).Count();

            Assert.AreEqual(expected, actual);
        }
示例#2
0
 public IQueryable <string> GetAllCategoriesOfDictionary()
 {
     return(serviceDictionary.GetAllCategories(GetCurrentUserId()));
 }