예제 #1
0
        public static void TakeFromUser()
        {
            int userId  = ServantClass.CheckId(UserIdMessage);
            int awardId = ServantClass.CheckId(AwardIdMessage);

            if (AwardLogic.TakeAward(userId, awardId))
            {
                Console.WriteLine("Award successfully taken.");
            }
            else
            {
                Console.WriteLine("Cannot to take award.");
            }
        }