Esempio n. 1
0
        private HistoryModel AddHistory(int amount, bool isSuccess, DateTime executionTime)
        {
            var history = new HistoryModel {
                TotalAmount = amount, IsSuccess = isSuccess, ExecutionTime = executionTime
            };

            _dao.Add(history);
            return(history);
        }