Example #1
0
        private void NotExist(Window window)
        {
            List <String> windowNames = windowRepository.GetNameList();

            if (windowNames.Contains(window.name))
            {
                throw new ExceptionController(ExceptionMessage.WINDOW_NAME_ALREADY_EXIST);
            }
        }