public IActionResult PutCustomer(int id, [FromBody] Customer customer)
        {
            if (id != customer.CustomerId)
            {
                return(BadRequest());
            }
            try
            {
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!_repository.CustomerExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    return(StatusCode(500, "Internal Server error has occurred!"));
                }
            }
            _repository.EditCustomer(customer);


            return(NoContent());
        }