Exemple #1
0
        public void ViewUserCLI()
        {
            User    user  = new User();
            AdminDA admin = new AdminDA();

            var list = admin.ViewUserDA();

            list = list.ToList();
            var markdownTable = list.ToMarkdownTable();

            Console.WriteLine(markdownTable);
        }
        public void ViewUserCLI()
        {
            User    user  = new User();
            AdminDA admin = new AdminDA();

            var list = admin.ViewUserDA();

            list = list.ToList();

            Console.WriteLine("1 - admin");
            Console.WriteLine("2 - Team Lead");
            Console.WriteLine("3 - Normal Member");
            Console.WriteLine("");

            var markdownTable = list.ToMarkdownTable();

            Console.WriteLine(markdownTable);
        }