Exemplo n.º 1
0
        public List <Category> categoriesList()
        {
            NORTHWNDEntities nORTHWNDEntities = new NORTHWNDEntities();
            List <Category>  categories       = nORTHWNDEntities.Categories.ToList();

            return(categories);
        }