Esempio n. 1
0
        public void UserDictionaryServiceTest_GetAllCategories_count()
        {
            var expected = rep.GetAllCategories(1).Count();
            var actual   = service.GetAllCategories(1).Count();

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