public JsonResult GenerateReferenceData() { var referenceDataService = new ReferenceDataService(); var elapsedTime = PerformanceTools.MeasureElapsedTime(() => referenceDataService.Generate()); return(Json(new BaseApiResponse { ElapsedTime = elapsedTime })); }
private static void FirstTask() { var referenceDataService = new ReferenceDataService(); referenceDataService.Generate(); }