Beispiel #1
0
        public void Add(Change change)
        {
            if (IsRevertingChanges)
            {
                return;
            }

            CurrentSession.Add(change);
        }
        // Add session info in string format to CurrentSession List.
        private void AddToSession(string action, decimal amount, string onUser, string dateInfo)
        {
            var culture = new CultureInfo("el-GR");

            string money = amount.ToString("C", culture);

            string session = $"{action} \t|{dateInfo}| \t{onUser}\t{money}";

            CurrentSession.Add(session);
        }