Esempio n. 1
0
        private CourseCategory[] InitCategories()
        {
            var initCategories = new CourseCategory[] {
                new CourseCategory()
                {
                    Title       = "Android",
                    Description = "Android programming courses"
                },
                new CourseCategory()
                {
                    Title       = "iOS",
                    Description = "iOS programming courses"
                },
                new CourseCategory()
                {
                    Title       = "Windows Phone",
                    Description = "Windows Phone programming courses"
                }
            };

            return(initCategories);
        }
        private CourseCategory[] InitCategories()
        {
            var initCategories = new CourseCategory[] {
                new CourseCategory()
                {
                    Title = "Android",
                    Description = "Android programming courses"
                },
                new CourseCategory()
                {
                    Title = "iOS",
                    Description = "iOS programming courses"
                },
                new CourseCategory()
                {
                    Title = "Windows Phone",
                    Description = "Windows Phone programming courses"
                }
            };

            return initCategories;
        }