public IActionResult Get(string key, [FromQuery(Name = "Product")] string product)
        {
            var version = _verepo.GetVersionId(key);

            if (_verepo.IsKeyValid(key) && _repo.ProductExist(version, product))
            {
                var result = _repo.GetProduct(version, product);
                return(Ok(result));
            }
            return(BadRequest());
        }
        public IActionResult Get(string key, [FromQuery(Name = "Product")] string product, [FromQuery(Name = "Branch")] string branch)
        {
            var version = _repo.GetVersionId(key);

            if (_repo.IsKeyValid(key) && _prodRepo.ProductExist(version, product))
            {
                var result = _repo.GetNextVersionNumber(version, product, branch);
                return(Ok(result));
            }
            return(BadRequest());
        }