Exemple #1
0
        public JsonResult GenerateReferenceData()
        {
            var referenceDataService = new ReferenceDataService();
            var elapsedTime          = PerformanceTools.MeasureElapsedTime(() => referenceDataService.Generate());

            return(Json(new BaseApiResponse {
                ElapsedTime = elapsedTime
            }));
        }
Exemple #2
0
        private static void FirstTask()
        {
            var referenceDataService = new ReferenceDataService();

            referenceDataService.Generate();
        }