示例#1
0
        public void bloggerMenu(Blogger blogger)
        {
            this.displayMessage(Menu.displayBloggerMenu());
            int bloggerChoice = 0;

            bloggerChoice = this.getIntInput();
            switch (bloggerChoice)
            {
            case 1:
                blogger.Browse();
                break;

            case 2:
                blogger.Add();
                break;

            case 3:
                blogger.Edit();
                break;

            case 4:
                blogger.Delete();
                break;

            case 5:
                break;
            }
        }