Exemplo n.º 1
0
        internal static void CreateAward()
        {
            Console.WriteLine("Input type of award:");
            var title = Console.ReadLine();

            try
            {
                if (usersmanager.AddAward(title))
                {
                    Console.WriteLine("Award created successfully");
                }
                else
                {
                    Console.WriteLine("Award do not created");
                }
            }
            catch (Exception e)
            {
                Console.WriteLine("Award do not created");
                Console.WriteLine(e.Message);
            }
        }