public void GenerateThousandCodes()
        {
            List <string> codes = GenerateCodes();

            TextFileOperations.WriteCodesToTextFile(codes);
            _console.WritelineToConsole("\nCODES ARE GENERATED!");
            _console.WritelineToConsole("You can find generated codes in -> " + Constants.TEXT_FILE_PATH);
        }
        public bool CheckIfCodeIsCreated(string code)
        {
            List <string> codes = TextFileOperations.ReadAllCodesFromTextFile();

            if (codes.Where(x => x == code).FirstOrDefault() != null)
            {
                return(true);
            }

            return(false);
        }