Beispiel #1
0
        public ShortUrl GetByOriginalUrl(string originalUrl)
        {
            _loggerservice.LogInformation("GetByOriginalUrl request called : " + originalUrl);
            var shorturl = _mapper.Map <ShortUrl>(_shortUrlRepository.GetByOriginalUrl(originalUrl));

            return(shorturl);
        }