public async Task <IHttpActionResult> GetTableInfo([FromBody] CreateTableScriptViewModel vm)
        {
            IDataGenStrategy dataGenStrategy = DataGenStrategies[vm.SqlType];
            TableInfo        tableInfo       = await dataGenStrategy.GetTableInfoAsync(vm.CreateTableScript);

            TableInfoViewModel tableInfoViewModel = new TableInfoViewModel
            {
                SqlType = vm.SqlType,
                Name    = tableInfo?.Name,
                Columns = tableInfo?.Columns
            };

            return(Ok(tableInfoViewModel));
        }
        public async Task <IHttpActionResult> GetGeneratedData([FromBody] TableInfoViewModel vm)
        {
            IDataGenStrategy dataGenStrategy = DataGenStrategies[vm.SqlType];
            var generationOptions            = new InsertScriptGenerationOptions {
                RowCount = vm.EntityCount
            };
            var tableInfo = new TableInfo {
                Name = vm.Name, Columns = vm.Columns
            };
            string generatedData = await dataGenStrategy.GenerateInsertScriptAsync(tableInfo, generationOptions);

            GeneratedDataViewModel generatedDataViewModel = new GeneratedDataViewModel
            {
                GeneratedData = generatedData
            };

            return(Ok(generatedDataViewModel));
        }