public IActionResult Decode(string encoded)
        {
            string link = _repository.Decode(encoded);
            Uri    uriResult;
            bool   result = Uri.TryCreate(link, UriKind.Absolute, out uriResult) &&
                            (uriResult.Scheme == Uri.UriSchemeHttp || uriResult.Scheme == Uri.UriSchemeHttps);

            if (result)
            {
                return(Redirect(uriResult.AbsoluteUri));
            }
            else
            {
                return(View("Bad"));
            }
        }