You can use the underlying ASP.NET Response object to redirect the user to a different URL.
requestContext.Response.Redirect("/Home/CompanyProfile"); requestContext.Response.End();
It will send a redirect response to the browser and complete the processing of the HTTP request.
source share