public ActionResult <ProductModel[]> Import(string importerName, Entry importParameters)
        {
            if (importParameters == null)
            {
                return(BadRequest($"Import parameters were null"));
            }
            var parameters = ConvertParametersBack(importerName, importParameters);

            if (parameters == null)
            {
                return(BadRequest($"Importer with the name {importerName} was not found or had no parameters"));
            }
            var importedTypes = _productManagement.Import(importerName, parameters).Result.ImportedTypes;
            var modelList     = new List <ProductModel>();

            foreach (var t in importedTypes)
            {
                modelList.Add(_productConverter.ConvertProduct(t, false));
            }
            return(modelList.ToArray());
        }