title: call razor page from mvc controller
body: <p>I want to reuse my razor pages instead of having multiple similar views in mvc, I don't want to use a partial view. Thus I want to pass a parameter from a controller to razor page.</p>
  
  <p>In the razor page my input will be something like below</p>
  
  <pre><code>public async Task OnGet(int? x,int?y)
  </code></pre>
  
  <p>How can i call this function/razor page from my mvc controller?</p>