Пример #1
0
        private LoadTestScenario Load(Scenario model)
        {
            LoadTestScenario scenario = mapper.Map <Scenario, LoadTestScenario>(model);
            FileUpload       file     = fileService.GetUploadsByCode(model.FileCode);
            string           path     = fileService.GetFullPath(file);

            scenario.Data = ReadData(path);
            return(scenario);
        }