public ActionResult <ProductModel> Duplicate(long id, [FromBody] string newIdentity)
        {
            var template = _productManagement.LoadType(id);

            if (template == null)
            {
                return(BadRequest($"Producttype with id {id} not found"));
            }
            var identityArray = WebUtility.HtmlEncode(newIdentity).Split('-');

            if (identityArray.Length != 2)
            {
                return(BadRequest($"Identity has wrong format. Must be identifier-revision"));
            }
            var identity       = new ProductIdentity(identityArray[0], Convert.ToInt16(identityArray[1]));
            var newProductType = _productManagement.Duplicate(template, identity);

            if (newProductType == null)
            {
                return(BadRequest($"Error while duplicating"));
            }
            return(_productConverter.ConvertProduct(newProductType, false));
        }