public IActionResult Get(string link) { var hash = HashHelper.Hash_SHA_256(link, false); db.Put(hash, link); return(Redirect("https://" + Env.RedirectURL + "/" + hash + ".jpg")); // return new string[] { hash, link }; }