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

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

            referenceDataService.Generate();
        }