public async Task <Settlement> GetByIdAsync(string settlementId)
        {
            Settlement settlement = await _settlementRepository.GetByIdAsync(settlementId);

            if (settlement == null)
            {
                throw new EntityNotFoundException();
            }

            return(settlement);
        }