public async Task <IActionResult> GetAll()
        {
            try
            {
                var addresses = await _addressRepo.GetAsync();

                return(Ok(_mapper.Map <IEnumerable <Address>, IEnumerable <AddressResponseDto> >(addresses)));
            }
            catch (Exception e)
            {
                _log.LogError($"error getting addresses {e}");
            }

            return(BadRequest());
        }