Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [HttpGet]
- [Route("link")]
- [ProducesResponseType((int)HttpStatusCode.Redirect)]
- public async Task<IActionResult> GetLink(CancellationToken cancellationToken)
- {
- return new RedirectResult("http://www.google.com");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement