Advertisement
pedroarrudant

Untitled

May 30th, 2023
961
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | Source Code | 0 0
  1.         [HttpGet]
  2.         [Route("link")]
  3.         [ProducesResponseType((int)HttpStatusCode.Redirect)]
  4.         public async Task<IActionResult> GetLink(CancellationToken cancellationToken)
  5.         {
  6.             return new RedirectResult("http://www.google.com");
  7.         }
Tags: C#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement