Пример #1
0
        /// <summary>
        /// Save seerielnumbers to in a file on the file system
        /// </summary>
        public async Task SerielNumbersToFile(IDictionary <string, bool> lotteryDictionary)
        {
            FileDownStream fileDownStream = new FileDownStream();

            if (lotteryDictionary != null)
            {
                await fileDownStream.SaveSerielNumbersToFileAsync(lotteryDictionary);
            }
        }
        /// <summary>
        /// Save seerielnumbers to in a file on the file system
        /// </summary>
        public void SerielNumbersToFile(Dictionary <string, bool> lotteryDictionary)
        {
            FileDownStream fileDownStream = new FileDownStream();

            fileDownStream.SaveSerielNumbersToFile(lotteryDictionary);
        }