public async Task <IActionResult> GetProduct(int id)
        {
            var product = await _repo.GetProduct(id);

            var productToReturn = _mapper.Map <ProductForDetailsDto>(product);

            var vendor = await _repo.GetVendor(productToReturn.VendorId);

            productToReturn.VendorName = vendor.Name;

            return(Ok(productToReturn));
        }