Changed several synchronous database calls to asynchronous calls.
This commit is contained in:
@ -26,7 +26,7 @@ namespace ReportingServices.UI.Controllers
|
||||
{
|
||||
try
|
||||
{
|
||||
DailyReport dailyReport = DailyReportHelper.SetUpDailyReport().Result;
|
||||
DailyReport dailyReport = DailyReportHelper.SetUpDailyReport();
|
||||
Dictionary<string, List<string>> toolStateOwners = JsonFileHandler.LoadJSONFile<Dictionary<string, List<string>>>(_toolStateOwnerFilePath);
|
||||
|
||||
dailyReport.ToolStatesByOwner = toolStateOwners;
|
||||
@ -38,7 +38,6 @@ namespace ReportingServices.UI.Controllers
|
||||
_logger.LogCritical(ex, "Failed to load report");
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public IActionResult EditDailyReport()
|
||||
|
Reference in New Issue
Block a user