예제 #1
0
        public void IncreaseVolume(string user)
        {
            if (!IsUserAdmin(user))
            {
                return;
            }

            musicPlayer.IncreaseVolume();

            logger.Info("{0} increased the volume to {1}", user, volume.CurrentVolume);
        }