Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var bsa = new Bsa();

            //if Seed doesn't insert data, uncomment this method
            //bsa.InsertData();

            // Task #1
            bsa.UsersPassTest();

            // Task #2
            bsa.UsersPassTestWithGoodTime();

            // Task #3
            bsa.UsersPassTestWithBadTime();

            // Task #4
            bsa.UsersGroupByCity();

            // Task #5
            bsa.UsersPassTestGroupByCity();

            // Task #6
            bsa.UserResultsAndPercentForCategory();

            // Task #7
            bsa.QuestionPopularityInTestRating();

            // Task #8
            bsa.InstructorRating();

            // Task #9
            bsa.TestAverageResultInCategory();

            // Task #10
            bsa.QuestionResultRating();

            Console.ReadKey();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            Bsa bsa = new Bsa();

            bsa.UsersPassTest();
            Console.WriteLine();

            bsa.UsersPassTestWithGoodTime();
            Console.WriteLine();

            bsa.UsersPassTestWithBadTime();
            Console.WriteLine();

            bsa.UsersGroupByCity();
            Console.WriteLine();

            bsa.UsersPassTestGroupByCity();
            Console.WriteLine();

            bsa.UsersResults();
            Console.WriteLine();

            Console.ReadKey();
        }