public async Task <ActionResult <Url> > GetInfo(string shortUrl) { var response = await Task.Run(() => _urlService.GetByShortAddress(shortUrl)); if (response == null) { return(NotFound()); } else { return(response); } }