public IActionResult GetContractItem(int id)
        {
            var contractItem = _repository.GetContract(id);

            if (contractItem == null)
            {
                _logger.LogInformation($"Contract with id {id} not found.");
                return(NotFound());
            }

            /*    contractItem.Customer = _repository.GetCustomer(contractItem.CustomerId);
             * contractItem.CoveragePlan = _repository.GetCoveragePlan(contractItem.ContractId); */
            return(Ok(contractItem));
        }