public async Task <IList <ScenarioModel> > Upload(IFormFile formFile) { try { _scenarioService.UploadScenarios(formFile); var scenarios = await _scenarioService.GetAll(); return(await Task.FromResult(scenarios)); } catch (Exception e) { Console.WriteLine(e); throw; } }