Ejemplo n.º 1
0
        public JsonResult ImportTransactionData()
        {
            var transactionDataService = new TransactionDataService();
            var elapsedTime            = PerformanceTools.MeasureElapsedTime(() => transactionDataService.Import());

            return(Json(new BaseApiResponse {
                ElapsedTime = elapsedTime
            }));
        }
Ejemplo n.º 2
0
        private static void ThirdTask()
        {
            var transactionDataService = new TransactionDataService();

            transactionDataService.Import();
        }