public IActionResult Confirmation(string hash) { if (service.Confirmation(hash)) { return(Redirect("/")); } else { return(BadRequest("Bad hash")); } }